PerlMagic composite displace parameter?
Posted: 2007-07-10T10:04:14-07:00
How do I replicate this command line: in Perl? I'm sure it's something like: ...except I don't know what [parameter]'s name is. I tried geometry=>'0x20' and x=>0,y=>20 and neither of those worked.
Code: Select all
composite gradient.png source.png -displace 0x20 curved.gif
Code: Select all
$source->Composite(image=>$gradient,compose=>'Displace',[parameter]=>'0x20',gravity=>'Center');