The program ImageMagick has a convert
command which can be used to convert the picture format. For example I have a picture test.jpg
convert test.jpg test.png
will give the test.png.
I want to add this command to the right-click menu to simplify my work. I add a item into the regedit
at HKEY_CLASSES_ROOT -- * -- shell
C:\Program Files\ImageMagick-7.0.3-Q16\convert.exe -density 600 "%1" %1.png
When I run this command to file test.jpg
, it will give test.jpg.png
. I want to get the file test.png
. How should I modify the command line?