]> granicus.if.org Git - imagemagick/commitdiff
Fix CLUT interpolation method
authoranthony <anthony@git.imagemagick.org>
Thu, 12 Apr 2012 06:24:29 +0000 (06:24 +0000)
committeranthony <anthony@git.imagemagick.org>
Thu, 12 Apr 2012 06:24:29 +0000 (06:24 +0000)
MagickCore/enhance.c

index 00609f702d7f6734ee9401d9ba8b131d96a57700..3bdf487e18e5d50e5eed54c7a3409d863e5d7047 100644 (file)
@@ -347,7 +347,7 @@ MagickExport MagickBooleanType ClutImage(Image *image,const Image *clut_image,
   for (i=0; i <= (ssize_t) MaxMap; i++)
   {
     GetPixelInfo(clut_image,clut_map+i);
-    (void) InterpolatePixelInfo(clut_image,clut_view,UndefinedInterpolatePixel,
+    (void) InterpolatePixelInfo(clut_image,clut_view,method,
       QuantumScale*i*(clut_image->columns-adjust),QuantumScale*i*
       (clut_image->rows-adjust),clut_map+i,exception);
   }