[scribus-dev] python: Pillow?

Gregory Pittman gpittman at iglou.com
Sun Nov 11 00:13:20 UTC 2018


On 11/10/18 6:59 PM, Gregory Pittman wrote:
> On 11/10/18 6:48 PM, dockattt wrote:
>> hi everybody,
>>
>> I was just curious if anyone has ever talked about adding the Python package "Pillow" to Scribus.  It's a fork of PIL(Python Image Library).  I was able to import it into the Scribus python by adding it's path from a different python to the sys.path list. I was using it to do some image stuff.  Maybe I have the right idea of just adding it to the path? ;)
>>
> 
> I think it's supposed to be a substitute for PIL. I haven't used it, so I don't know how similar it is. Let us know if you find problems.
> 

And another question is if a script asks for PIL, will finding Pillow on your system work too, or does the script need to be edited? One thing might be to alter the script to a try: else: syntax.

Greg




More information about the scribus-dev mailing list