[Image-SIG] PIL crash bug sharpening

Zac Burns zac256 at gmail.com
Thu Apr 16 19:57:15 CEST 2009


Thanks.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games



On Thu, Apr 16, 2009 at 10:34 AM, Fredrik Lundh <fredrik at pythonware.com> wrote:
> On Thu, Apr 16, 2009 at 7:00 PM, Zac Burns <zac256 at gmail.com> wrote:
>> PIL will cause a crash in python.exe when sharpening very small images.
>>
>> Repro:
>>
>> img = PImage.new('RGB', (1, 1))
>> img = PImageEnhance.Sharpness(img).enhance(1.5)
>
> Thanks for reporting this.  A workaround is available here:
>
>    http://hg.effbot.org/pil-2009-raclette/changeset/d1c45b7eb7d7/
>
> (the patch is against 1.1.7, but the Filter.c part should apply
> cleanly on 1.1.6)
>
> </F>
>


More information about the Image-SIG mailing list