[Image-SIG] proper type of image objects

Guy K. Kloss g.kloss at massey.ac.nz
Mon Apr 13 05:11:57 CEST 2009


Sorry for the noise, found something after creating a new image *without* 
loading it, but using PIL.Image.new() which seems to work on all PIL image 
objects:

>>> isinstance(a_pil_image, PIL.Image.Image)
True

Guy

-- 
Guy K. Kloss
Institute of Information and Mathematical Sciences
Te Kura Pūtaiao o Mōhiohio me Pāngarau
Room 2.63, Quad Block A Building
Massey University, Auckland, Albany
Private Bag 102 904, North Shore Mail Centre
voice: +64 9 414-0800 ext. 9585   fax: +64 9 441-8181
eMail: G.Kloss at massey.ac.nz  http://iims.massey.ac.nz



More information about the Image-SIG mailing list