PIL and 16-bit images bug

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

PIL and 16-bit images bug

Ken Mankoff
Hi,

I know there is no official PIL support, but the site does suggest
posting bug reports here. I think I have found two, both related to
16 bit images, one TIF and one PGM. It seems there is support for 8
bit and 32 bit, but not 16 bit images. Some more details here:

http://stackoverflow.com/questions/7363735/python-and-16-bit-pgm
http://stackoverflow.com/questions/7247371/python-and-16-bit-tiff

It seems I should read with mode of "L;16" but "L" is hardcoded into
File.c with PGM. I presume something similar with TIF file read.

Cheers,

   -k.
_______________________________________________
Image-SIG maillist  -  [hidden email]
http://mail.python.org/mailman/listinfo/image-sig