Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using PILLOW on App Engine instead of PIL

It turns out that PIL seems to have a problem of over-estimating the height of fonts. I've encountered this problem with PIL on App Engine. See more about this problem here

however, i don't have this problem with PILLOW on my local machine. i can kind of work around this problem, but ideally I'd use PILLOW instead of PIL on app engine. Is that possible?

like image 630
omar Avatar asked Mar 21 '23 15:03

omar


1 Answers

No. PIL uses C based modules and so does PILLOW. You can only deploy supported modules as listed in 3rd party modules (like numpy) that have C based libraries see - https://developers.google.com/appengine/docs/python/tools/libraries27

like image 116
Tim Hoffman Avatar answered Mar 23 '23 04:03

Tim Hoffman