perlmagick vs command line

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Hans
Posts: 1
Joined: 2013-01-03T23:49:08-07:00
Authentication code: 6789

perlmagick vs command line

Post by Hans »

Ubuntu 12.10 "quantal"
ImageMagick Version: 6.7.7-10 2012-08-17 Q16
DELEGATES bzlib djvu fftw fontconfig freetype jbig jpeg jng jp2 lcms2 lqr lzma openexr pango png rsvg tiff x11 xml wmf zlib
Image::Magick Version: 6.77

Hi All,

Since I decided to use perlmagick I can't read any images other than jpeg.

When I try to
$image->Read("image.gif");
This error is produced
Exception 425: corrupt image `image.gif' @ error/gif.c/ReadGIFImage/1362

When I try to
$image->Read("image.png");
This error is produced
Exception 425: corrupt image `image.png' @ error/png.c/ReadPNGImage/3723

When I use convert from the command line everything functions as normal.

Suggestions please, because I am stuck..

Hans
Phantom7
Posts: 5
Joined: 2014-02-10T15:31:48-07:00
Authentication code: 6789

Re: perlmagick vs command line

Post by Phantom7 »

Code: Select all

sudo apt get install --reinstall perlmagick
When you build it inner perl, the result will be, that you´ve got!
Post Reply