PerlMagick syntax Composite
Posted: 2018-02-28T08:26:45-07:00
sorry put this on other board in error
hello,
I don't do this very often.
have an array of images and pixel coordinates.
would like to combine over another image at those coordinates.
not understanding the syntax
something like
cheers
hello,
I don't do this very often.
have an array of images and pixel coordinates.
would like to combine over another image at those coordinates.
not understanding the syntax
something like
Code: Select all
$y=0;
while ($y <= $#frames){
#say $frames[$y][0]; # the backgound
#say $frames[$y][1]; # the x pixel coordinate
#say $frames[$y][2]; # the y pixel coordinate
$base=$frames[$y][0];
$xpix=$frames[$y][1];
$ypix=$frames[$y][2];
$base->Composite(image =>$over, qw(compose ScrAtop geometry $xpix $ypix));
$y+=1;
}