how to increase/decrease an effect's value in ImageMagicK.?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
mbatra
Posts: 18
Joined: 2012-05-29T08:37:10-07:00
Authentication code: 13

how to increase/decrease an effect's value in ImageMagicK.?

Post by mbatra »

Hi,

I am using Magick++ effects on images. I have applied Blur effect on an image. I have provided a slider for the same. User can increase the value of the slider and same will increase the blur effect on the Image. Now if I decrease the value of the slider, it doesn't reduce the blur effect on the image. It will again blur the image.

Can anyone tell me any way to do this.? Or is there any method in ImageMagick which will reduce the given Blur effect on the Image.



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

Re: how to increase/decrease an effect's value in ImageMagic

Post by fmw42 »

-blur 0xsigma the 0 tells the radius to compute it automatically from the sigma at about 3xsigma=radius.

alternately for a linear radial blur rathe than a gaussian radial blur, use -blur radiusx65000 (or any very large number such that it is at least 100xradius).
Post Reply