[Image-SIG] pencil sketches

2009-04-22 Thread Kevin Castiglione
hi guys i want to generate pencil sketch sort of effect on images with faces in images. is it possible to do this effect in PIL? thanks ___ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig

Re: [Image-SIG] Remove Noise from a National Weather Service Radar Image (.gif)

2009-04-22 Thread Fredrik Lundh
On Tue, Apr 21, 2009 at 1:34 AM, Christopher Barker wrote: > the glory (or, one of the glories) or numpy is that you don't have to > loop, you can operate in the whole array as a unit. Or use PIL's "point" method, which does this in no time at all without having to roundtrip all the data through

Re: [Image-SIG] Resizing Photos

2009-04-22 Thread Florian Höch
Hi, the anti-alias filter gives best results imho. import PIL yourimage.resize((w, h), PIL.Image.ANTIALIAS)) Regards, Florian Höch Paul Johnston schrieb: Hi, I'm currently using PIL to resize photos down to a thumbnail. Something I've noticed though, is that whatever software Facebook use

[Image-SIG] Resizing Photos

2009-04-22 Thread Paul Johnston
Hi, I'm currently using PIL to resize photos down to a thumbnail. Something I've noticed though, is that whatever software Facebook use too do the same, produces better-quality thumbnails. Are there any tweaks I can apply to PIL to get better resizing? Or any idea what software FB may be using?

Re: [Image-SIG] Remove Noise from a National Weather Service Radar Image (.gif)

2009-04-22 Thread J.D. Main
Hey Guys, I've got it!  Mucho thanks for the very cool numpy example from Chris and of course to everyone else for the assistance.  I can now add this code to a program that upsamples these images so they look better when plotted on a GIS map.  I realize that I'm technically destro

Re: [Image-SIG] Remove Noise from a National Weather Service Radar Image (.gif)

2009-04-22 Thread J.D. Main
Hey Guys, I've got it!  Mucho thanks for the very cool numpy example from Chris and of course to everyone else for the assistance.  I can now add this code to a program that upsamples these images so they look better when plotted on a GIS map.  I realize that I'm technically des

Re: [Image-SIG] Remove Noise from a National Weather Service Radar Image (.gif)

2009-04-22 Thread Christopher Barker
David Berthelot wrote: What I do is that I use numpy arrays to store images and perform all my math stuff on them. numpy is good for this stuff, particularly if it gets more complicated, but a few comments" Example: import Image import numpy as N f = Image.open("image.gif") g = N.array(N.a