]> granicus.if.org Git - imagemagick/commitdiff
Fixed argument order for LevelColors.
authordirk <dirk@git.imagemagick.org>
Fri, 9 Aug 2013 18:57:09 +0000 (18:57 +0000)
committerdirk <dirk@git.imagemagick.org>
Fri, 9 Aug 2013 18:57:09 +0000 (18:57 +0000)
Magick++/lib/Image.cpp
Magick++/lib/Magick++/Image.h

index 74c5b9693746972d5136911294741f38f6229692..647fbe933ea6caf29c6e95c67c121978fa34da89 100644 (file)
@@ -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();
index 0a0b4250db11a4578846ab5c6beb78b6aa95a5b5..9079eed67e511ee4f99165d9cf0c80801be19610 100644 (file)
@@ -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