Page 1 of 1
blur x,y (command line [convert] statement)
Posted: 2007-11-07T03:33:42-07:00
by Ravinderjit S.Sidhu
I want to give blur to a PNG file.
I have X-blur range from (0..100), and Y-blur range from (0..100)
what will be a simple command line statement.
please do me a favour.
Re: blur x,y (command line [convert] statement)
Posted: 2007-11-19T17:25:49-07:00
by anthony
Directly IM will not blur X and Y values separatally.
However you have a number of options to restrict the blur a little
You can do a motion blur in say just the X direction (do in in both X directions for uniformity) than a separate on in Y direction.
http://imagemagick.org/Usage/convolve/#motion-blur
Or you can create your own convolution kernel that blurs one direction more than another.
IM Examples (just rough notes)
http://imagemagick.org/Usage/convolve/#convolve
However Fred Wienhaus has a simplified treaty on using convolutions
Goto
http://www.fmwconcepts.com/imagemagick/
and follow the "digital filter" link.