Page 1 of 1

Splice gravitation problems

Posted: 2007-03-08T04:55:52-07:00
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