Package: libtiff-tools
Version: 3.9.4-5+squeeze7
Severity: important
Tags: upstream

tiffcp has a surprising behavior upon failure. When converting a TIFF with an 
unsupported Compression scheme, tiffcp simply returns '0'.

$ tiffcp -8 -c none  xaaa.tif xaaa_none.tif
xaaa.tif: Compression scheme 33005 tile decoding is not implemented.
xaaa.tif: Compression scheme 33005 tile decoding is not implemented.
xaaa.tif: Compression scheme 33005 tile decoding is not implemented.
xaaa.tif: Compression scheme 33005 tile decoding is not implemented.
xaaa.tif: Compression scheme 33005 tile decoding is not implemented.
xaaa.tif: Compression scheme 33005 tile decoding is not implemented.
...
$ echo $?
0

The resulting image is all black, which is of very little interest if none.

Thanks

-- 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.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:
pn  libtiff-opengl                <none>     (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

Reply via email to