Package: netpbm Version: 2:10.0-12 Severity: important pnmtojpeg crashes with message: pnmtojpeg: Unable to allocate -4 bytes for exif header buffer when I want to resize my photos from Nikon D40. When I was using my script for photos from Panasonic, all went OK, and the script was working.
The script is resizing photo, and keeping EXIF info. It's like following: ===================================== #! /bin/sh in=1020-075634.jpg exif=tmp.exif pnm=tmp.pnm jpegtopnm -exif=$exif $in | pnmscale 0.5 > $pnm pnmtojpeg --quality=90 --exif=$exif $pnm ===================================== The photo is attached. When I'm trying to to transfer the EXIF using exiftool, then if works normally. So it seem, that EXIF is OK, bug the pnmtojpeg cannot read it correctly, or jpegtopnm cannot write it correctly. Can you look at it? Thanks. Lada -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-486 Locale: LANG=czech, LC_CTYPE=czech (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages netpbm depends on: ii libc6 2.7-14 GNU C Library: Shared libraries ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libnetpbm10 2:10.0-12 Shared libraries for netpbm ii libpng12-0 1.2.27-2 PNG library - runtime ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages netpbm recommends: ii ghostscript-x [gs-aladdi 8.62.dfsg.1-3.1 The GPL Ghostscript PostScript/PDF netpbm suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]