]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 12 Mar 2010 01:56:29 +0000 (01:56 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 12 Mar 2010 01:56:29 +0000 (01:56 +0000)
ChangeLog
magick/resample.c

index 97df91918c25bebf5b1affcf61e36455daa06fe5..f979dfb00c864eeac2fcde80fd36c99ff2cb3970 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-03-11  6.6.0-5 Cristy  <quetzlzacatenango@image...>
   * Permit user to get virtual pixels with a region width of 0.
   * Reformulate the jinc() functio  so that the main peak is of amplitude of 1.
+  * Resampling filter must respect the image virtual pixel method.
 
 2010-03-07  6.6.0-4 Cristy  <quetzlzacatenango@image...>
   * The -evaluate-sequence option behaves like -evaluate except it operates
index a31de2b9e582139e38fb544dce8f0a58335cfc42..6da3c9b7ddb3142753965c447e245c84fb9b3413 100644 (file)
@@ -1544,6 +1544,7 @@ MagickExport MagickBooleanType SetResampleFilterVirtualPixelMethod(
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",
       resample_filter->image->filename);
   resample_filter->virtual_pixel=method;
-  (void) SetCacheViewVirtualPixelMethod(resample_filter->view,method);
+  if (method != UndefinedVirtualPixelMethod)
+    (void) SetCacheViewVirtualPixelMethod(resample_filter->view,method);
   return(MagickTrue);
 }