Package: libtiff-tools
Version: 4.0.2-4
Severity: important

I believe there an issue with tiff2rgba, for some reason it does not seems to 
be able to deal with BigTIFF as should.

Eg:

$ tiff2rgba -c none -n bigtiff.tif bigtiff3.tif
TIFFAppendToStrip: Maximum TIFF file size exceeded.
TIFFAppendToStrip: Maximum TIFF file size exceeded.
TIFFAppendToStrip: Maximum TIFF file size exceeded.

where:

$ tiffinfo bigtiff.tif
TIFF Directory at offset 0x2367dba90 (9504144016)
  Image Width: 78000 Image Length: 30462
  Resolution: 10, 10 pixels/cm
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Extra Samples: 1<assoc-alpha>
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 4
  Rows/Strip: 16
  Planar Configuration: single image plane

However it should always be possible to reduce an RGBA uncompressed TIFF into 
RGB uncompressed TIFF.

What looks suspicious is this:

$ tiff2rgba -n bigtiff.tif bigtiff2.tif
$ tiffdump bigtiff2.tif
bigtiff2.tif:
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
...

while input is:

$ tiffdump bigtiff.tif
bigtiff.tif:
Magic: 0x4949 <little-endian> Version: 0x2b <BigTIFF>


My guess is that tiff2rgba try hard to write out ClassicTIFF when BigTIFF is 
required.


-- System Information:
Debian Release: 6.0.6
  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.3-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+squeeze5 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:
pn  libtiff-opengl                <none>     (no description available)

-- no debconf information


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

Reply via email to