I would like to convert image formats.
I can use 'convert' command, but it made another image.
So I searched and find 'mogrify' command in ImageMagick official page.
What I did was
mogrify -format png a.jpg
What I expected was one image that has 'png' extension.
But it did not overwrite original image, but made another png image in my folder.
How Can I get only one image(that means overwite original file) in some format
that I want?
Thanks:-)
Best Answer
ImageMagick's
mogrify
isn't the best tool here, turns outconvert
is much better suited for the job. It can be done by specifying output format with the file name.Example: