I know it is possible to convert from png to jpg in command line with imagemagick. Is it possible to blur from commandline too?
I have found this documentation but it does not demonstrate how this could be done from the command line.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
generalizing from an answer answer from this forum:
convert orig_file.jpg -blur 0x8 blured_file.jpg
convert orig_file.jpg -filter Gaussian -blur 0x8 blured_file.jpg
radiusxsigma from the imagemagick documentation:
The Sigma value is the important argument, and determines the actual amount of blurring that will take place.
The Radius is only used to determine the size of the array which will hold the calculated Gaussian distribution. It should be an integer. If not given, or set to zero, IM will calculate the largest possible radius that will provide meaningful results for the Gaussian distribution.
The larger the Radius the radius the slower the operation is. However too small a Radius, and severe aliasing effects may result. As a guideline, Radius should be at least twice the Sigma value, though three times will produce a more accurate result.