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

For some reason tiffcp does not cope with some large single strip TIFF file:

$ tiffcp -8 -r -1 -c none image.tif o.tif
TIFFAppendToStrip: Write error at scanline 24063.
o.tif: Error, can't write scanline 24063.
TIFFAppendToStrip: Write error at scanline 24064.

where:

$ tiffdump image.tif
image.tif:
Magic: 0x4949 <little-endian> Version: 0x2b <BigTIFF>
OffsetSize: 0x8 Unused: 0
Directory 0: offset 4574085136 (0x110a30010) next 0 (0)
ImageWidth (256) SHORT (3) 1<63360>
ImageLength (257) SHORT (3) 1<24064>
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<16>
Orientation (274) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<3>
RowsPerStrip (278) SHORT (3) 1<24064>
StripByteCounts (279) LONG8 (16) 1<4574085120>
PlanarConfig (284) SHORT (3) 1<1>

and

$ tiffinfo image.tif
TIFF Directory at offset 0x110a30010 (4574085136)
  Image Width: 63360 Image Length: 24064
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: RGB color
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 3
  Rows/Strip: 24064
  Planar Configuration: single image plane


$ ls -al image.tif
-rw-r--r-- 1 mathieu mathieu 4574085372 Mar 19 15:05 image.tif

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 debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to