$ conda install numpy pillow $ pip install imgrender
from imgrender import render render('test.png', scale=(40, 60))