]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 24 Mar 2013 02:29:41 +0000 (02:29 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 24 Mar 2013 02:29:41 +0000 (02:29 +0000)
PerlMagick/quantum/quantum.xs.in

index b04771d110ac3325cb2599428eac3dc1a61a4a38..0eec1352991ea6ba46fdf4f11d08ce53899250e6 100644 (file)
@@ -390,8 +390,7 @@ static struct
       { "black-point-compensation", MagickBooleanOptions} } },
     { "UnsharpMask", { {"geometry", StringReference},
       {"radius", RealReference}, {"sigma", RealReference},
-      {"amount", RealReference}, {"threshold", RealReference},
-      {"channel", MagickChannelOptions} } },
+      {"gain", RealReference}, {"channel", MagickChannelOptions} } },
     { "MotionBlur", { {"geometry", StringReference},
       {"radius", RealReference}, {"sigma", RealReference},
       {"angle", RealReference}, {"channel", MagickChannelOptions} } },
@@ -9488,12 +9487,10 @@ Mogrify(ref,...)
           if (attribute_flag[3] != 0)
             geometry_info.xi=argument_list[3].real_reference;
           if (attribute_flag[4] != 0)
-            geometry_info.psi=argument_list[4].real_reference;
-          if (attribute_flag[5] != 0)
-            channel=(ChannelType) argument_list[5].integer_reference;
+            channel=(ChannelType) argument_list[4].integer_reference;
           channel_mask=SetImageChannelMask(image,channel);
           image=UnsharpMaskImage(image,geometry_info.rho,geometry_info.sigma,
-            geometry_info.xi,geometry_info.psi,exception);
+            geometry_info.xi,exception);
           if (image != (Image *) NULL)
             (void) SetImageChannelMask(image,channel_mask);
           break;