Can't locate auto/Image/Magick/

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Posts: 1
Joined: 2011-10-23T23:45:38-07:00
Authentication code: 8675308

Can't locate auto/Image/Magick/

Post by chii1873 »

I have installed ImageMagick-6.3.7-2 on RHEL4.
But I got error when I used Extent method as follows:

Code: Select all

Can't locate auto/Image/Magick/ in @INC

Anyone please tell me how to solve it, or workarounds.
I just want to put an image into fixed size or frame:
ex) original image is 480x320px,
then resize to 120x80,
spread 20px-height white background on top and bottom,
then finally 120x120px.

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: Can't locate auto/Image/Magick/

Post by magick »

Its possible that Extent() is not supported for ImageMagick 6.3.7. You can emulate Extent() by creating a canvas and compositing your image on top of it or try upgrading your release of ImageMagick.