I've been having a problem with my tiff. When converting to a PNG or a JPEG the colors get messed up (black becomes white). I belive it has todo with the tiff being little endian. I noticed that in 1.1.7 the following was added to the change log.

   Added limited support for I;16L mode (explicit little endian).
Would someone be able to assist me in utilizing this? I've installed 1.1.7 but am unsure of how to utilize this feature.

If i print information about the image this is what i see:
code:

     im = Image.open("C:\\test\\test.tif")
     print im.format
     print im.mode
     print im.palette
     print im.info
     print im.getbands()

output:

   TIFF
   I;16
   None
   {'resolution': (1, 1), 'compression': 'raw'}
   I

I'm a novice at this, any help would be apprciated.
-andrew

changelog for pil 1.1.7:
http://bitbucket.org/effbot/pil-2009-raclette/src/tip/CHANGES
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to