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
__
> 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
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
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.
>>
>