Package: perlmagick
Version: 6:6.0.6.2-2.2
Severity: important

Conversion from .tif to .pdf does not work. Conversion from .tif to .png works 
with the same code (just exchange .pdf with .png)

#!/usr/bin/perl -w

use Image::Magick;

#read input
$image = Image::Magick->new;
open(IMAGE, "/var/spool/fax/$fax_file");
$image->Read(file=>\*IMAGE);
close(IMAGE);
#output
$pdf_filename = "fax.pdf";
open(PDF, ">$pdf_filename");
$image->Write(file=>\*PDF, filename=>$pdf_filename);
warn "$x" if "$x";      # print the error message
$x =~ /(\d+)/;
close (PDF);

calling the program results in segmentation fault. calling it with 
$pdf_filename = "fax.png" works

regards
morten


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.29-2_mck_SMP_capi
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages perlmagick depends on:
ii  libbz2-1.0               1.0.2-5         high-quality block-sorting file co
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libdps1                  4.3.0.dfsg.1-10 Display PostScript (DPS) client li
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  liblcms1                 1.13-1          Color management library
ii  libmagick6               6:6.0.6.2-2.2   Image manipulation library
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libtiff4                 3.7.1-4         Tag Image File Format (TIFF) libra
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxml2                  2.6.16-3        GNOME XML library
ii  perl                     5.8.4-6         Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.4 5.8.4-6         The Pathologically Eclectic Rubbis
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to