Question regarding convert -blur

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
elkayein
Posts: 1
Joined: 2013-03-28T17:25:27-07:00
Authentication code: 6789

Question regarding convert -blur

Post by elkayein »

Hello,

This is probably trivial but I couldn't find an appropriate answer in the documentation. I am trying to understand an existing script that uses convert in this syntax

Code: Select all

convert -quality 100 -blur 10 xxx.jpg xxx.jpg
I see that blur has only one argument,10. Is this the radius? Does that mean the Sigma is 0? Because the documentation at http://www.imagemagick.org/script/comma ... s.php#blur tells me that Sigma is mandatory.

Thanks!
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Question regarding convert -blur

Post by snibgo »

That page says:

Code: Select all

-blur radius
-blur radius x sigma
This means you can provide either the radius alone, or the radius and sigma separated by "x".

And your command has arguments in the wrong order. It should be:

Code: Select all

convert xxx.jpg -quality 100 -blur 10 xxx.jpg
snibgo's IM pages: im.snibgo.com
Post Reply