if i remember correctly, pil doesn't deal with 16-bit tif. i think there was a patch around or something.... anyone have the info on this? tif does have a very specific header, including an offset (in bytes) to the image pixels, so it should be pretty easy to use a binary read operation to get your pixels.
On 10/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > > > How do I read a (I;16) TIFF image with PIL? > > If I use the basic code: > > im = Image.open("file.tif") > > im.show() > > My output is a white screen. If I open the image with ImageJ, I have no > problems. > > > > Any suggestions? > > Thanx in advance. > > > > Bradley > > _______________________________________________ > Image-SIG maillist - Image-SIG@python.org > http://mail.python.org/mailman/listinfo/image-sig > >
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig