extract
Posted: 2008-11-29T12:18:57-07:00
How does one use the "extract" option in PerlMagick?
The docs indicate that the extract geometry is an attribute. Okay, so,
$image->Set(extract=>"24x48+0+0");
should set it. But then what? Using WriteImage subsequently gives the original image, not an extracted one.
But why would such a thing be an attribute, rather than an image method? I would have expected something more like this:
$newImage = $image->ExtractImage("24x48+0+0");
Rick
The docs indicate that the extract geometry is an attribute. Okay, so,
$image->Set(extract=>"24x48+0+0");
should set it. But then what? Using WriteImage subsequently gives the original image, not an extracted one.
But why would such a thing be an attribute, rather than an image method? I would have expected something more like this:
$newImage = $image->ExtractImage("24x48+0+0");
Rick