[Image-SIG] patch for _rotate() bug in Image-1.1.2
Jon Moody
jbmoody@oakland.edu
Mon, 28 Jan 2002 08:52:52 -0500
--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
There is an apparent bug in _imaging.c: the _rotate() function ignores
the 'filter' argument whenever the pixel type is anything other than
IMAGING_TYPE_SPECIAL (e.g. IMAGING_TYPE_INT32, etc.).
Patch attached.
--lrZ03NoBR/3+SXJZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Imaging-1.1.2.patch"
--- Imaging-1.1.2/_imaging.c Mon Jan 28 08:37:03 2002
+++ Imaging-1.1.2-new/_imaging.c Mon Jan 28 08:43:11 2002
@@ -1199,7 +1199,7 @@
ImagingRotate180(imOut, imIn);
else
/* Use ordinary version */
- ImagingRotate(imOut, imIn, theta, 0);
+ ImagingRotate(imOut, imIn, theta, filter);
}
}
--lrZ03NoBR/3+SXJZ--