472,126 Members | 1,594 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

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 1556
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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.