]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 15 Sep 2013 19:11:14 +0000 (19:11 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 15 Sep 2013 19:11:14 +0000 (19:11 +0000)
MagickCore/fourier.c

index 191118bf63ecb3ed559fdab5ba36be820240af22..fc38fd7d1fe2ce51a2dc52e3ddeaf1f30cbe36be 100644 (file)
@@ -527,7 +527,7 @@ static MagickBooleanType ForwardFourierTransform(FourierInfo *fourier_info,
   fftw_destroy_plan(fftw_r2c_plan);
   source_info=(MemoryInfo *) RelinquishVirtualMemory(source_info);
   value=GetImageArtifact(image,"fourier:normalize");
-  if ((value == (const char *) NULL) || (LocaleCompare(value,"fft") == 0))
+  if ((value == (const char *) NULL) || (LocaleCompare(value,"forward") == 0))
     {
       double
         gamma;
@@ -1071,7 +1071,7 @@ static MagickBooleanType InverseFourierTransform(FourierInfo *fourier_info,
     }
   source_pixels=(double *) GetVirtualMemoryBlob(source_info);
   value=GetImageArtifact(image,"fourier:normalize");
-  if ((value == (const char *) NULL) || (LocaleCompare(value,"fft") == 0))
+  if (LocaleCompare(value,"inverse") == 0)
     {
       double
         gamma;