]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 31 Aug 2010 12:07:59 +0000 (12:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 31 Aug 2010 12:07:59 +0000 (12:07 +0000)
ChangeLog
magick/fx.c

index f23bbf1f8bea22ad3dcaa9d07c2e9ca252f0df68..489776dcade79ab76c2db0da5e35db2de429f522 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@
     approximation of the sinc function over the interval [-3,3].
   * Eliminate a small memory leak in LevelizeImageChannel() (reference
          http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16951).
+  * Recognize -fx logtwo (reference
+    http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=16958).
 
 2010-08-15  6.6.3-7 Cristy  <quetzlzacatenango@image...>
   * Throw exception if image size differs for the compare program but the
index 88c76e61885b0731ebf6e3cfa4fdd300dfa43295..cd73e8a0bc0b6b5d0a179003795f37e6a54e68f3 100644 (file)
@@ -2562,9 +2562,9 @@ static MagickRealType FxEvaluateSubexpression(FxInfo *fx_info,
             exception);
           return((MagickRealType) log((double) alpha));
         }
-      if (LocaleNCompare(expression,"logtwo",4) == 0)
+      if (LocaleNCompare(expression,"logtwo",6) == 0)
         {
-          alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+4,beta,
+          alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+6,beta,
             exception);
           return((MagickRealType) log10((double) alpha))/log10(2.0);
         }