Quantcast
Channel: ImageMagick: convert to keep same name for converted image - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by Cameron for ImageMagick: convert to keep same name for converted image

I like the top answer,that being said, in later versions of ImageMagick, the command isconvert *.psd -set filename:basename "%[basename]""%[filename:basename].png"as also mentioned by @jan-glx and...

View Article


Answer by Mark Setchell for ImageMagick: convert to keep same name for...

Or, even simpler:mogrify -format png *.psd

View Article

Answer by emcconville for ImageMagick: convert to keep same name for...

Use the -set and formatting options.convert *.psd -set filename:base "%[basename]""%[filename:base].png"See "Long Form Attribute Percent Escapes" and "Filename Percent Escapes" docs.UpdateThe mogrify...

View Article

Answer by Kurt Pfeifle for ImageMagick: convert to keep same name for...

If you are on Linux, Unix or Mac OSX, you could use in a terminal window with Bash shell:for i in *.psd; do convert $i ${i/.psd/.png}doneI deliberately do not advertise mogrify any more. It is too...

View Article

ImageMagick: convert to keep same name for converted image

I am converting .psd to .png files inside folder with one. How to keep same name of every file in folder with different extension ?For example I enter in folder images and then from terminal I execute$...

View Article

Browsing all 5 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>