16-bit signed tiffs

"Simon (Vsevolod) Ilyushchenko" <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <CAO8peET1MZmQBP9B47UmWJF1D8_t9omNjrmdm3vEJFoVCRUAxA@mail.gmail.com>
Hi,

I've tried to read a tiff file of type Int16 (signed int). PIL is able to
open a file, but can't read any data from it due to an unknown mode.

Indeed, Storage.c only recognizes the following 16-bit modes: I;16, I;16L,
I;16B. However, TiffImagePlugin.py thinks the mode should be I;16S.

Is this a known mismatch? Is it enough to just add I;16S to the check in
Storage.c, or is there more coding needed to make it really support signed
ints?

Thanks,
Simon

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.