2003.01.14 10:30 "strip order", by Kai-Uwe Behrmann

Hello, to the libtiff list.

I want to make tiff better available to filmgimp and have played a little bit with libtiff. Now there are some unsolved things. I found that in PS6-tiffs the strip order is irregular. I could not understand to wich TAG in the tiff this is belonging and how to eliminate this bytes. There seems to be something not well interpreted in the IFD (tiffinfo follows):

TIFF Directory at offset 0x8
  Subfile Type: (0 = 0x0)
  Image Width: 429 Image Length: 640
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 16
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Samples/Pixel: 3
  Rows/Strip: 640
  Planar Configuration: single image plane
  Photoshop Data: <present>, 4644 bytes

and some around laying imagepices as in:

TIFF Directory at offset 0x8
  Subfile Type: (0 = 0x0)
  Image Width: 640 Image Length: 496
  Resolution: 72, 72 pixels/inch
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: separated
  Dot Range: 0-255
  Image Description: "D8721"
  Samples/Pixel: 4
  Rows/Strip: 496
  Planar Configuration: single image plane
  Photoshop Data: <present>, 6304 bytes
  RichTIFFIPTC Data: <present>, 5 bytes

The last is read in by the TiffReadRGBAImage() of libtiff. We have no native cmyk support. Are the Photoshop Data within the image? If Yes on wich place?

Maybe it is allready documented. I hope for any hint to solve this.

Kai-Uwe Behrmann