Page 1 of 1

perlmagick vs command line

Posted: 2013-01-04T00:59:32-07:00
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

Re: perlmagick vs command line

Posted: 2014-02-10T17:44:53-07:00
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!