Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Partial Blur

Reply
Thread Tools

Partial Blur

 
 
chicorbleak@gmail.com
Guest
Posts: n/a
 
      08-21-2007
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

 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      08-21-2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blur tutorial extra part, How Much Blur? Wayne J. Cosshall Digital Photography 0 02-16-2007 02:10 AM
Re: Partial 1.0 - Partial classes for Python Thomas Heller Python 13 02-08-2007 08:12 PM
Re: Partial 1.0 - Partial classes for Python J. Clifford Dyer Python 0 02-08-2007 05:29 PM
Why? Partial Class within a Partial class Billy ASP .Net 2 02-01-2006 09:10 AM
validate on blur ? Kevin Spencer ASP .Net 6 06-29-2004 03:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57