2005.02.21 00:31 "[Tiff] problem viewing tiff-file", by Michel Brabants

2005.02.21 00:31 "[Tiff] problem viewing tiff-file", by Michel Brabants

Heya,

I was scanning a picture in windows to the tif-format. In windows there is a thumbnail that shows the picture ok. I also think an icc-profile is in the picture. I can't scan the picture at this resoluation under linux with sane. I would like to scan to tif since it puts an icc-profile in the file then and if I want to scan at 48 bits/pixel, I think that tiff is my only choice with the software I'm using. I'm trying to convert the picture to png under linux (and hoping to also put the icc-profile in the png), but it seems libtiff (I suppose) can't display it correctly and the conversion to png (using imagemagick's convert) also doesn't work.

When I try to view the original image, only a part of the image is displayed and there is an error message when I request info about the original tif-fil(output of tiffinfo):

  bompa001.tif: Warning, incorrect count for field "MinSampleValue" (1, expecting 3); tag ignored.
bompa001.tif: Warning, incorrect count for field "MaxSampleValue" (1, expecting 3); tag ignored.
TIFF Directory at offset 0x8
   Subfile Type: (0 = 0x0)
   Image Width: 7344 Image Length: 5136
   Resolution: 2400, 2400 pixels/inch
   Bits/Sample: 8
   Compression Scheme: None
   Photometric Interpretation: RGB color
   Samples/Pixel: 3
   Rows/Strip: 5136
   Planar Configuration: single image plane
   Page Number: 0-0

It's quite a big file (108 MB). I saw that the error has been mentionned in this mailinglist (in January or February).

Thanks,

Michel