From: dirk Date: Fri, 9 Aug 2013 18:57:09 +0000 (+0000) Subject: Fixed argument order for LevelColors. X-Git-Tag: 7.0.1-0~3410 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c14d245154a7b3cc3887c53f947c1396d5f42e65;p=imagemagick Fixed argument order for LevelColors. --- diff --git a/Magick++/lib/Image.cpp b/Magick++/lib/Image.cpp index 74c5b9693..647fbe933 100644 --- a/Magick++/lib/Image.cpp +++ b/Magick++/lib/Image.cpp @@ -1695,8 +1695,8 @@ void Magick::Image::levelColors ( const Color &blackColor_, } void Magick::Image::levelColorsChannel ( const ChannelType channel_, - const Color &whiteColor_, const Color &blackColor_, + const Color &whiteColor_, const bool invert_ ) { modifyImage(); diff --git a/Magick++/lib/Magick++/Image.h b/Magick++/lib/Magick++/Image.h index 0a0b4250d..9079eed67 100644 --- a/Magick++/lib/Magick++/Image.h +++ b/Magick++/lib/Magick++/Image.h @@ -536,12 +536,12 @@ namespace Magick // out the colors, and level values on a channel by channel bases, as // per level(). The given colors allows you to specify different level // ranges for each of the color channels separately. - void levelColors ( const Color &whiteColor_, - const Color &blackColor_, + void levelColors ( const Color &blackColor_, + const Color &whiteColor_, const bool invert_ ); void levelColorsChannel ( const ChannelType channel_, - const Color &whiteColor_, const Color &blackColor_, + const Color &whiteColor_, const bool invert_ = false ); // Discards any pixels below the black point and above the white point and