Partial Blur

Discussion in 'Python' started by chicorbleak@gmail.com, Aug 21, 2007.

  1. Guest

    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, 2007
    #1
    1. Advertising

  2. 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
    Diez B. Roggisch, Aug 21, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    validate on blur ?

    Kevin Spencer, Jun 28, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    1,033
    Kevin Spencer
    Jun 29, 2004
  2. Billy
    Replies:
    2
    Views:
    487
    Billy
    Feb 1, 2006
  3. aa
    Replies:
    0
    Views:
    533
  4. Thomas Heller
    Replies:
    13
    Views:
    839
    Michele Simionato
    Feb 8, 2007
  5. J. Clifford Dyer

    Re: Partial 1.0 - Partial classes for Python

    J. Clifford Dyer, Feb 8, 2007, in forum: Python
    Replies:
    0
    Views:
    506
    J. Clifford Dyer
    Feb 8, 2007
Loading...

Share This Page