+2010-04-15 6.6.1-4 Cristy <quetzlzacatenango@image...>
+ * Do not set the resample virtual pixel method when undefined.
+
2010-04-12 6.6.1-3 Cristy <quetzlzacatenango@image...>
* For HSL to RGB, if color temperature is less than 0, set RGB to lightness.
* Do not flip BMP image with negative height when pinging.
{ /* ----- MAIN CODE -----
Sample the source image to each pixel in the distort image.
*/
+ CacheView
+ *distort_view;
+
long
j,
progress,
ResampleFilter
**restrict resample_filter;
- CacheView
- *distort_view;
-
status=MagickTrue;
progress=0;
GetMagickPixelPacket(distort_image,&zero);
filter[i]=AcquireResampleFilter(image,exception);
if (filter[i] == (ResampleFilter *) NULL)
return(DestroyResampleFilterThreadSet(filter));
- (void) SetResampleFilterVirtualPixelMethod(filter[i],method);
+ if (method != UndefinedVirtualPixelMethod)
+ (void) SetResampleFilterVirtualPixelMethod(filter[i],method);
if (interpolate != MagickFalse)
SetResampleFilter(filter[i],PointFilter,1.0);
}