[Image-SIG] Problem with Image.resize() using nearest-neighbor resampling?

Gary Capell gary.capell at gmail.com
Mon Jul 27 08:59:45 CEST 2009


See http://mail.python.org/pipermail/image-sig/2009-July/005790.html

I noticed the same problem.

My workaround was to use:

 numpy.asarray(img).reshape(1, scale_x).reshape(0, scale_y)

(in case that helps anyone).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090727/ed62db4b/attachment-0001.htm>


More information about the Image-SIG mailing list