From c7fd176fed36d93c09f086b6d4ed104a907d8ba2 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 24 Mar 2013 02:29:41 +0000 Subject: [PATCH] --- PerlMagick/quantum/quantum.xs.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index b04771d11..0eec13529 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -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; -- 2.40.0