[Image-SIG] NSImage to PIL

Karsten Hiddemann karsten.hiddemann at mathematik.uni-dortmund.de
Tue May 27 11:57:06 CEST 2008

sounav maikap schrieb:
> Can anybody throw light how to convert a NSImage object to PIL image object.

I really have no idea about Cocoa code, but looking at 
http://theocacao.com/document.page/350 it seems like you can create a 
TIFFRepresentation / imageRepWithData of your image and then feed that 
into PIL via Image.fromstring().


More information about the Image-SIG mailing list