diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index 607ffde17ef..ea1ea2e3157 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -567,8 +567,8 @@ static struct { "Colorspace", { {"colorspace", MagickColorspaceOptions} } }, { "AutoThreshold", { {"method", MagickAutoThresholdOptions} } }, { "RangeThreshold", { {"geometry", StringReference}, - {"low-soft", RealReference}, {"high-soft", RealReference}, - {"low-hard", RealReference}, {"high-hard", RealReference}, + {"low-black", RealReference}, {"low-white", RealReference}, + {"high-white", RealReference}, {"high-black", RealReference}, {"channel", MagickChannelOptions} } }, }; diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index 2f62b867fbc..14858fbedbf 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -567,8 +567,8 @@ static struct { "Colorspace", { {"colorspace", MagickColorspaceOptions} } }, { "AutoThreshold", { {"method", MagickAutoThresholdOptions} } }, { "RangeThreshold", { {"geometry", StringReference}, - {"low-soft", RealReference}, {"high-soft", RealReference}, - {"low-hard", RealReference}, {"high-hard", RealReference}, + {"low-black", RealReference}, {"low-white", RealReference}, + {"high-white", RealReference}, {"high-black", RealReference}, {"channel", MagickChannelOptions} } }, };