On Thu, Apr 16, 2009 at 7:00 PM, Zac Burns <zac...@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>
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to