[Image-SIG] PIL crash bug sharpening

2009-04-16 Thread Zac Burns
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) -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer (Digital Overlord) Zindagi Games __

Re: [Image-SIG] PIL crash bug sharpening

2009-04-16 Thread Daniel Fetchinson
> 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) I can confirm this on linux x86_64, python 2.5.1, PIL 1.1.6. The above segfaults python. Cheers, Daniel -- Psss, psss, put

Re: [Image-SIG] PIL crash bug sharpening

2009-04-16 Thread Fredrik Lundh
On Thu, Apr 16, 2009 at 7:00 PM, Zac Burns 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.e

Re: [Image-SIG] PIL crash bug sharpening

2009-04-16 Thread Zac Burns
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 wrote: > On Thu, Apr 16, 2009 at 7:00 PM, Zac Burns wrote: >> PIL will cause a crash in python.exe when sharpening very small images. >> >