[Image-SIG] using PIL from different module

Jan Spurný JSpurny at seznam.cz
Mon May 19 11:35:25 CEST 2008


Hi,

I'm writing C module for python and there are few functions which are accepting PIL Images and they should return new PIL images. When I modify given PIL image, it's fine, but I would really like to return new Image and there's a problem - when returning a new PIL image, I need to create it and therefore use functions like ImagingNew. However this does not work - compilation of my module works just fine, but after importing module from python I get:

ImportError: mymodule.so: undefined symbol: ImagingNew

thanks for any suggestions

Jan Spurny


More information about the Image-SIG mailing list