469,602 Members | 1,741 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Partial Blur

Hello,

I'm looking for an image manipulation library which would allow me to
blur an oval-shaped part of my picture, instead of the whole thing. I
couldn't find a way to do this using the
tools I see in the API of Python Imaging Library.

If you know how to do this, I'd appreciate it if you left a note.

Thanks
CB

Aug 21 '07 #1
1 1478
ch*********@gmail.com schrieb:
Hello,

I'm looking for an image manipulation library which would allow me to
blur an oval-shaped part of my picture, instead of the whole thing. I
couldn't find a way to do this using the
tools I see in the API of Python Imaging Library.
Create a copy of the picture (or a rectangle just large enough) with
e.g. Image.crop() followed by a load.

Then blur that image using the appropriate filter.

Using the composite-function you should be able to compose the old image
with the new + an oval mask.

HTH,

Diez
Aug 21 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.