From: Tony Cook Date: Sun, 25 Mar 2007 11:22:22 +0000 (+0000) Subject: more to do X-Git-Tag: Imager-0.56~8 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/42feef3b5f6cd7fafa5a4c45a9a888f5c2a1d344 more to do --- diff --git a/TODO b/TODO index 08eaaa58..d8e23024 100644 --- a/TODO +++ b/TODO @@ -24,6 +24,8 @@ correct handling of old Data::Dumper (#24391) (done) fix unsharpmask documentation (#25531) +work around compiler bug on OS X (#25561) + BEFORE 0.54 OO interface for i_plin/i_glin (done) diff --git a/lib/Imager/Filters.pod b/lib/Imager/Filters.pod index a590bfe9..780640db 100644 --- a/lib/Imager/Filters.pod +++ b/lib/Imager/Filters.pod @@ -486,6 +486,24 @@ output pixel is: in + I * (in - blurred). $img->filter(type=>"unsharpmask", stddev=>1, scale=>0.5) or die $img->errstr; +unsharpmark has the following parameters: + +=over + +=item * + +stddev - the radius of effect of the blur, this is equivalent to the +C value in the GIMP's unsharpmask filter. Smaller values +enhance smaller-scale detail. Default: 2.0. + +=item * + +scale - the proportion of the difference between the original and +blurred image added to the original image, equivalent to I in +the GIMP's unsharp mask filter. Default: 1.0. + +=back + =item watermark applies I as a watermark on the image with strength I,