"Mark" on wrote...
| 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.
|
Upgrade. the gravity addition was very recent.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
,.......
,.........:::::::::::::::::.
,......::::::::::::::::::'''' ``::::::
/\_./o__ ....::::::::::::::::::''''''' `::::
(/^/(_^~' ```::::::............ ,::::
___.(_.)____ ```````:::::::::::::::::::::::::::'
| `````````:::::::::::'
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users