[Image-SIG] Image quality when resizing

Joe Reinhardt jmr@everest.radiology.uiowa.edu
24 Jan 2001 20:02:32 -0600


>>>>> "FL" == Fredrik Lundh <fredrik@effbot.org> writes:

    FL> the correct approach would be to apply a suitable lowpass
    FL> filter, and then use NEAREST on the result.

    FL> unfortunately, PIL doesn't support that (yet).

Wouldn't

            import ImageFilter
            imout = im.filter(ImageFilter.BLUR)

do the job?


- Joe




-- 
Joseph M. Reinhardt, Ph.D.      Department of Biomedical Engineering
joe-reinhardt@uiowa.edu         1402 SC
Telephone: 319-335-5634         University of Iowa
FAX:       319-335-5631         Iowa City, IA  52242