Bug#692460: TIFFAppendToStrip: Maximum TIFF file size exceeded

2015-01-19 Thread Mathieu Malaterre
found -1 4.0.3-12
thanks

On Wed, Jan 8, 2014 at 10:51 PM, Jay Berkenbilt q...@debian.org wrote:
[...]
 Are you sure this is still true with the latest tiff2rgba?  The version
 that reportbug thinks you have predates bigtiff support.

Yes. This is still present in jessie.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#692460: TIFFAppendToStrip: Maximum TIFF file size exceeded

2014-01-08 Thread Jay Berkenbilt
Mathieu Malaterre ma...@debian.org wrote:

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

Your bug report says 4.0.2-4, but later, you have

 -- 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-1The Independent JPEG Group's 
 JPEG 
 ii  libtiff43.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-openglnone (no description available)

 -- no debconf information

Are you sure this is still true with the latest tiff2rgba?  The version
that reportbug thinks you have predates bigtiff support.

-- 
Jay Berkenbilt q...@debian.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#692460: TIFFAppendToStrip: Maximum TIFF file size exceeded

2012-11-06 Thread Mathieu Malaterre
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: 1assoc-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-1The Independent JPEG Group's JPEG 
ii  libtiff43.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-openglnone (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org