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
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
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
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?
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
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
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