atom feed7 messages in net.java.dev.jai-imageio.interestRE: [JAI-IMAGEIO] Problem rendering T...
FromSent OnAttachments
mja...@union06.deJun 20, 2007 3:34 am 
jai-...@javadesktop.orgJun 20, 2007 4:29 am 
jai-...@javadesktop.orgJun 20, 2007 4:43 am 
Brian BurkhalterJun 20, 2007 11:34 am 
Brian BurkhalterJun 20, 2007 11:51 am 
jai-...@javadesktop.orgJun 21, 2007 6:19 am 
jai-...@javadesktop.orgJun 21, 2007 11:05 am 
Subject:RE: [JAI-IMAGEIO] Problem rendering Tiff with 2 samples per pixel
From:mja...@union06.de (mja@union06.de)
Date:Jun 20, 2007 3:34:14 am
List:net.java.dev.jai-imageio.interest

Can you please provide some more information maybe code fragments? Do you use ImageReadParams? Which? Can you give the meta-information of the TIFF produced by the following code example:

https://jai-imageio-demos.dev.java.net/source/browse/jai-imageio-demos/iio-samples/src/MetadataReadExample/

Maybe the metadata is not valid or the ImageReadParam tells ImageIO to do something different. Do you do any processing of the image that might be responsible?

Kind regards, Marco

Hi,

I have a strange TIFF file which is not properly displayed using ImageIO. The file is in color, but displayed as greyscale.

Looking at the image info, I noticed two things. Firstly, the image has two samples per pixel and the number of the original colors is 65536 (16 BitsPerPixel), whereas the number of the actual colors is 256 (8 BitsPerPixel).

Of course I can provide the file per email if needed.

Thanks

-- frank