Softening edges

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
cookienana
Posts: 1
Joined: 2014-03-11T16:58:50-07:00
Authentication code: 6789

Softening edges

Post by cookienana »

Is there a function to soften edges of images, and if so, can you tell me how to do it?
Thank you,
cookienana
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Softening edges

Post by fmw42 »

What exactly do you mean by "the edges" of the image? Do you mean edges of features in the image or rectangular boundary of the image?


see -blur
http://www.imagemagick.org/script/comma ... s.php#blur
http://www.imagemagick.org/Usage/blur/#blur
http://www.imagemagick.org/Usage/blur/
http://www.imagemagick.org/Usage/thumbnails/#soft_edges

Code: Select all

convert image -blur 0x1 result
change the 1 to some larger value if you want more blurring/softening.

In the future, please identify your version of IM and platform. Thanks

Also see
viewtopic.php?f=1&t=9620
Post Reply