Package: imagemagick Version: 7:6.6.0.4-2 Severity: normal File: /usr/bin/convert
I am adopting batmon.app for the GNUstep team, and trying to convert the application's TIFF icon to XPM (for the benefit of debian/menu). The command in the build-stamp rule is the following (almost identical in all GNUstep packages where TIFF images are used exclusively): convert Resources/Batmon_icon.tif -resize 32x32 batmon.xpm When building the debian package, the error message is: make[1]: Leaving directory `/tmp/buildd/batmon.app-0.5' convert Resources/Batmon_icon.tif -resize 32x32 batmon.xpm convert: unable to open image `Resources/Batmon_icon.tif': /usr/lib/ImageMagick-6.6.0/modules-Q16/coders/tiff.la @ error/blob.c/OpenBlob/2489. convert: unable to open image `Resources/Batmon_icon.tif': @ error/blob.c/OpenBlob/2489. convert: missing an image filename `batmon.xpm' @ error/convert.c/ConvertImageCommand/2940. make: *** [build-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Confusingly, if I run the command manually in a terminal, it is different: convert: Resources/BatMon_icon.tif: unknown field with tag 37724 (0x935c) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/703. I tried opening the problematic file (herewith attached) in some image viewers available in Debian (emacs23, preview.app, eog, to name a few) and they display the image without any problem. It looks like it was created with a proprietary program (what a shame!), but otherwise it doesn't seem natural to me the `convert' program to refuse to convert it if generic image viewers are able to dipslay the image... Is this an invalid TIFF file? Is this a bug in imagemagick and if so, how can I workaround it? I am not familiar with your package at all, and these are among the most cryptic error messages I've ever seen :-(. Thanks in advance. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages imagemagick depends on: ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib ii libglib2.0-0 2.24.1-1 The GLib library of C routines ii libgomp1 4.4.4-4 GCC OpenMP (GOMP) support library ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library ii libjpeg62 6b-16.1 The Independent JPEG Group's JPEG ii liblcms1 1.18.dfsg-1.2+b1 Color management library ii liblqr-1-0 0.4.1-1 converts plain array images into m ii libltdl7 2.2.6b-2 A system independent dlopen wrappe ii libmagickcore3 7:6.6.0.4-2 low-level image manipulation libra ii libmagickwand3 7:6.6.0.4-2 image manipulation library ii libsm6 2:1.1.1-1 X11 Session Management library ii libtiff4 3.9.2-3+b1 Tag Image File Format (TIFF) libra ii libx11-6 2:1.3.3-3 X11 client-side library ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages imagemagick recommends: ii ghostscript 8.71~dfsg2-3 The GPL Ghostscript PostScript/PDF ii libmagickcore3-extr 7:6.6.0.4-2 low-level image manipulation libra ii netpbm 2:10.0-12.1+squeeze1 Graphics conversion tools between ii ufraw 0.16-3 standalone importer for raw camera Versions of packages imagemagick suggests: pn autotrace <none> (no description available) pn cups-bsd | lpr | lpr <none> (no description available) ii curl 7.20.1-2 Get a file from an HTTP, HTTPS or pn enscript <none> (no description available) pn ffmpeg <none> (no description available) ii gimp 2.6.8-3 The GNU Image Manipulation Program ii gnuplot 4.4.0-1 A command-line driven interactive pn grads <none> (no description available) ii groff-base 1.20.1-10 GNU troff text-formatting system ( pn hp2xx <none> (no description available) pn html2ps <none> (no description available) pn imagemagick-doc <none> (no description available) pn libwmf-bin <none> (no description available) pn mplayer <none> (no description available) pn povray <none> (no description available) pn radiance <none> (no description available) pn sane-utils <none> (no description available) ii texlive-binaries [te 2009-6 Binaries for TeX Live pn transfig <none> (no description available) ii xdg-utils 1.0.2+cvs20100307-1 desktop integration utilities from -- no debconf information
<<attachment: BatMon_icon.tif>>