Splice gravitation problems

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
trident.cjr
Posts: 7
Joined: 2007-03-06T03:14:51-07:00

Splice gravitation problems

Post by trident.cjr »

The Splice command does not appear to be working correctly.

Code: Select all

$x = $image->Splice(width=>"0", height=>"30", background=>'white', gravity=>'South');
Image

Code: Select all

$x = $image->Splice(width=>"0", height=>"60", background=>'white', gravity=>'South');
Image

Code: Select all

$x = $image->Splice(width=>"0", height=>"90", background=>'white', gravity=>'South');
Image

Notice how progressive changes in the height are adjusting BOTH the size of the splice AND how far South it appears. I have tried using geometry => "0x30" instead, but with the same result.

I would like the splice to appear at the bottom, to make the white border at the bottom bigger than at the top.

Presumably this is a straightforward bug, but if it is something that I am doing wrong I would be delighted to know what!

Many thanks,

Chris Roberts
Post Reply