Equivalent ImageMagick <> Cloudinary unsharp mask values
Hi, love the product!
I have a question regarding the unsharp transformation...
So I have an existing ImageMagick convert command that i'm bringing over to Cloudinary with an unsharp mask of:
-unsharp 2x0.5+0.5+0
For reference, the ImageMagick syntax for this is:
-unsharp Radiusx*Sigma+Amount+Threshold*
* What would be the equivalent unsharp mask option in the Cloudinary API?
* It looks as though only "amount" is available & it is on a different scale?
Thanks,
-Mike
-
Hi Mike,
You can set the
effect
parameter tounsharp_mask
(e_unsharp_mask
in URLs) to sharpen the image using the unsharp mask filter.The default values are:
Radius - 0.0
Amount - 1.0
Threshold - 0.05Cloudinary supports customizing the sigma (level range: 1-2000, default level: 100), so that a 100 value is equivalent to ImageMagick's 1.0.
For example:
http://res.cloudinary.com/demo/image/upload/c_fill,e_unsharp_mask:400,h_80,w_80/horses.jpg
0
Post is closed for comments.
Comments
1 comment