[Image-SIG] PIL and 16-bit images bug
Ken Mankoff
mankoff at gmail.com
Fri Sep 9 18:17:47 CEST 2011
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.
More information about the Image-SIG
mailing list