2003.09.18 09:53 "[Tiff] color changes only with Windows Imaging (again)", by Takuya Sato

2003.09.18 12:26 "[Tiff] color changes only with Windows Imaging (again)", by Frank Warmerdam

[B] tiffinfo funny_color.tif <----- converted image with my
program: Not OK
TIFF Directory at offset 0xc008
   Image Width: 128 Image Length: 128
   Resolution: 72, 72
   Bits/Sample: 8
   Compression Scheme: None
   Photometric Interpretation: RGB color
   FillOrder: lsb-to-msb
   Date & Time: "2003:09:18 15:49:07"
   Document Name: "SAMPLE IMAGE\n"
   Make: "UAP, Inc."
   Samples/Pixel: 3
   Rows/Strip: 21
   Planar Configuration: single image plane

Takuya,

Do you know how the FillOrder: lsb-to-msb got into your image? I don't know if this is the default or not, but if it is not the default it is highly likely that a sloppy implementation of TIFF support would not handle it properly.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent