Dear list,

Using Image::Magick -- 6.3.2 (FreeBSD), I have a question about 'gravity'.
Consider please the following code:

$image->Set (quality => 100);
$image->Scale (geometry => '150x150');
$image->Extent (geometry => '150x150', gravity => 'Center', ...);
$image->Write ($thumbnail);

Can't get the gravity orientation to work, though. I always get a
thumbnail which is extended southward (if it's, say, 150x84), whereas I
expected the image to become centered on the (black) 150x150 canvas.

Perhaps I'm misunderstanding the process or function of gravity. Can
someone please enlighten me? I'm kinda new to Image::Magick.

Thanks,

- Mark

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to