Page 1 of 1

Blurring image edges ... sort of.

Posted: 2010-04-12T18:20:50-07:00
by kirash4
In my head (and in Photoshop) I can do this in several layers, but I'm trying to get this automated in some way. Basically what I want to achieve is an image that has a blur going out towards the edges (from center), darkened around the edges and then another image overlaid. Thinking out loud, I'm guessing:

a) take original image and duplicate
b) blur the duplicate
c) create a radial gradient, same size as the image
d) use that gradient as a mask on the blurred image so the center is sharp and the edges is blurred
e) last composite the original, blurred and another image one ontop of the other to achieve the final effect

But, I have to believe that there's a much simpler, possibly faster way to do this.

Here's an original image: Image

And this is the final result I want: Image

Re: Blurring image edges ... sort of.

Posted: 2010-04-12T18:55:07-07:00
by fmw42
see variable blur http://www.imagemagick.org/Usage/mapping/#blur

also see my script, variableblur, at the link below