Package: libtiff-tools
Version: 4.0.2-6
Severity: normal

tiffinfo / tiffcp do not handle large file very well:

Eg:

$ tiffdump /tmp/t1.tiff /tmp/t2.tiff
/tmp/t1.tiff:
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
Directory 0: offset 8 (0x8) next 0 (0)
ImageWidth (256) SHORT (3) 1<20000>
ImageLength (257) SHORT (3) 1<0>
BitsPerSample (258) SHORT (3) 3<8 8 8>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<2>
StripOffsets (273) LONG (4) 1<206>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<3>
RowsPerStrip (278) LONG (4) 1<65536>
StripByteCounts (279) LONG (4) 1<3932160000>
MinSampleValue (280) SHORT (3) 3<0 0 0>
MaxSampleValue (281) SHORT (3) 3<255 255 255>
PlanarConfig (284) SHORT (3) 1<1>
SampleFormat (339) SHORT (3) 3<1 1 1>
/tmp/t2.tiff:
Magic: 0x4949 <little-endian> Version: 0x2b <BigTIFF>
OffsetSize: 0x8 Unused: 0
Directory 0: offset 16 (0x10) next 0 (0)
ImageWidth (256) SHORT (3) 1<20000>
ImageLength (257) SHORT (3) 1<0>
BitsPerSample (258) SHORT (3) 3<8 8 8>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<2>
StripOffsets (273) LONG8 (16) 1<252>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<3>
RowsPerStrip (278) LONG (4) 1<65536>
StripByteCounts (279) LONG8 (16) 1<3932160000>
PlanarConfig (284) SHORT (3) 1<1>


Leads to:

$ tiffinfo /tmp/t1.tiff /tmp/t2.tiff
/tmp/t1.tiff:
TIFFReadDirectory: Cannot handle zero number of strips.
/tmp/t2.tiff:
TIFFReadDirectory: Cannot handle zero number of strips.

$ tiffcp /tmp/t1.tiff /tmp/o.tif
TIFFReadDirectory: Cannot handle zero number of strips.

and

$ tiffcp -8 /tmp/t2.tiff /tmp/o.tif
TIFFReadDirectory: Cannot handle zero number of strips.


Thanks

-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libtiff-tools depends on:
ii  libc6                   2.11.3-4         Embedded GNU C Library: Shared lib
ii  libjpeg62               6b1-1            The Independent JPEG Group's JPEG 
ii  libtiff4                3.9.4-5+squeeze8 Tag Image File Format (TIFF) libra
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libtiff-tools recommends no packages.

Versions of packages libtiff-tools suggests:
ii  libtiff-opengl          3.9.4-5+squeeze8 TIFF manipulation and conversion t

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to