Name
MogrifyRegion( ) — perform Mogrify( ) on a region
Synopsis
$image->Mogrify(region_geometry,
method_name,
parameter_list
)
MogrifyRegion( )
will apply
the Mogrify( )
method to the region of the image
referred to by the geometry string. For example, if you wish to apply
the OilPaint( )
filter to a 50 × 50
portion of the image starting at 10,10, you could use:
$image->MogrifyRegion('50x50+10+10', 'OilPaint', radius=>5);
Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.