Can't locate auto/Image/Magick/Extent.al

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

Can't locate auto/Image/Magick/Extent.al

Post by chii1873 » 2011-10-24T00:05:37-07:00

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/Extent.al 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
magick
Site Admin
Posts: 11063
Joined: 2003-05-31T11:32:55-07:00

Re: Can't locate auto/Image/Magick/Extent.al

Post by magick » 2011-10-24T04:21:27-07:00

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.

Post Reply