Re: [Image-SIG] using PIL from different module

2008-05-19 Thread Frédéric
Le 19/5/2008, "Jan Spurný" <[EMAIL PROTECTED]> a écrit: >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 prob

[Image-SIG] using PIL from different module

2008-05-19 Thread Jan Spurný
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