Fredrik Lundh is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

effbot / pil-2009-raclette http://effbot.org/zone/pil-index.htm

Work repository for PIL 1.1.7 and beyond. The "default" branch should be fairly solid, the other branches less so. For production use, see the pil-117 repository.

Clone this repository (size: 1.6 MB): HTTPS / SSH
hg clone https://bitbucket.org/effbot/pil-2009-raclette
hg clone ssh://hg@bitbucket.org/effbot/pil-2009-raclette

Issues

#9 PIL 1.1.[6-7] has a issue when resize()ing a image with Image.BILINEAR

Reported anonymously

downsampling a image to exactly half the width and height with Image.BILINEAR is broken. there does seem to be a off by one bug, the leftmost and topmost pixels aren't filtered at all, but are unmodified in the result.

i'm downsampling a image from 8192x8192 to 128x128 in 6 steps, always halfing width and height, using "Image.BILINEAR". (im = im.resize((size/2, size/2), Image.BILINEAR))

i've uploaded the source and result pictures here to illustrate the problem

http://www.mediafire.com/download.php?fzgtmklzyd2

(there doesn't seem a way to attach the files right here)

Status: new Responsible: nobody Type: bug Priority: major
Milestone: raclette-final Component: pil-core Version: pil-1.1.6

Attachments

No attachments added for this issue yet.

Comments and changes

No comments added for this issue yet.

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?