Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USE flags for tif/tiff
Date: Wed, 14 Mar 2007 14:56:08
Message-Id: 1173883838.23418.10.camel@blackwidow.nbk
In Reply to: Re: [gentoo-user] USE flags for tif/tiff by Andrew Gaydenko
1 On Wed, 2007-03-14 at 17:29 +0300, Andrew Gaydenko wrote:
2
3 >
4 > All programs says about bad format. You are right, only some rare TIFF files
5 > can not be opened. I use IrfanView (as it is at least free) under wine to see
6 > such files.
7 >
8 > 'identify' for last problem file output is (and GIMP says approximately the same):
9 >
10 > identify rodnik.tif
11 > identify: rodnik.tif: unknown field with tag 513 (0x201) encountered. `TIFFReadDirectory'.
12 > identify: rodnik.tif: unknown field with tag 514 (0x202) encountered. `TIFFReadDirectory'.
13 > identify: rodnik.tif: unknown field with tag 37679 (0x932f) encountered. `TIFFReadDirectory'.
14 > identify: rodnik.tif: unknown field with tag 37680 (0x9330) encountered. `TIFFReadDirectory'.
15 > identify: rodnik.tif: unknown field with tag 37681 (0x9331) encountered. `TIFFReadDirectory'.
16 > identify: Invalid YCbCr subsampling. `rodnik.tif'.
17 > identify: rodnik.tif: cannot handle zero strip size. `TIFFReadDirectory'.
18 >
19 > IrfanView shows the file without problems.
20 >
21
22 Error messages and Google: my favorite combo. To summarize:
23
24 The TIFF file format permits programs to include information
25 which only that program understands. TIFF files produced by
26 programs that do this are not always readable by other programs.
27
28 and
29
30 End result: if you get your hands on one of these "old style
31 jpeg in tiff" files, you're pretty much out of luck. You'll have
32 to negotiate with the file supplier to provide it in a different
33 format.
34
35 Hope this helps.
36 --
37 Albert W. Hopkins
38
39 --
40 gentoo-user@g.o mailing list