2004.03.26 09:21 "[Tiff] Re: bug/annoyance: top-left orientation warning message in tiffcp/tiff-3.6.1", by Steven Enderle
Hello Andrey,
thanks for having a look at it!
Attached is the tiffinfo (and tiffdump) output.
We are using these images since years as they are, and its just working fine as it is. Adding the orientation tag to the tiff ain't the problem, but the noisy warning messages are.
Maybe this warning might be more usefull in conjunction with a "-v" flag or one might introduce a "-q" quiet flag for not printing warnings, just errors.
Either way, it would help us a lot. I would also commit a patch for the next release, just drop me an email, what solution might be better suited for your software design.
Kind regards
Steven Enderle
--------------------------------------------------
----- Steven Enderle ----- m d n Huebner GmbH ----
----- enderle@mdn.de ----- + 49 911 93 90 90 -----
----- Digital Imaging & Documentmanagment -----
--------------------------------------------------
% tiffinfo 00001.tif
TIFF Directory at offset 0x8
Subfile Type: (0 = 0x0)
Image Width: 1648 Image Length: 2290
Resolution: 200, 200
Bits/Sample: 1
Compression Scheme: CCITT Group 4
Photometric Interpretation: min-is-white
FillOrder: lsb-to-msb
Samples/Pixel: 1
Rows/Strip: 2290
Planar Configuration: single image plane
% tiffdump 00001.tif
00001.tif:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 8 (0x8) next 0 (0)
SubFileType (254) LONG (4)
1 <0>
ImageWidth (256) LONG (4) 1
<1648>
ImageLength (257) LONG (4) 1
<2290>
BitsPerSample (258) SHORT
(3) 1 <1>
Compression (259) SHORT (3) 1
<4>
Photometric (262) SHORT (3) 1 <0>
FillOrder (266) SHORT (3) 1
<2>
StripOffsets (273) LONG (4) 1
<180>
SamplesPerPixel
(277) SHORT (3) 1 <1>
RowsPerStrip (278) LONG (4) 1
<2290>
StripByteCounts
(279) LONG (4) 1 <82792>
XResolution (282) RATIONAL (5) 1
<200>
YResolution (283) RATIONAL (5) 1
<200>