I need a little help with blurring

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
bobhwantstoknow
Posts: 8
Joined: 2016-02-23T14:17:23-07:00
Authentication code: 1151

I need a little help with blurring

Post by bobhwantstoknow »

Hello,

I have a very simple black and white image that I will use as a mask. I would like to blur the image to smooth the hard edges. But I do not want the black parts of the image to get any lighter. I only want the white parts to get darker. Is there an easy way to do that?

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: I need a little help with blurring

Post by fmw42 »

-blur 0xsigma -level 50x100%

or

-blur radiusx65000 -level 50x100%

for a proper linear blur that the -level can split at the halfway part
bobhwantstoknow
Posts: 8
Joined: 2016-02-23T14:17:23-07:00
Authentication code: 1151

Re: I need a little help with blurring

Post by bobhwantstoknow »

This works great. Thankyou.
Post Reply