Converting multiple JPG files to PNG
Posted by Hari Prasad Nadig on January 24, 2007 - 15:45
(Quite handy - and you can even go ahead to shrink the two commands to one).
for A in *.jpg; do convert $A $A.png; done
rename -v 's/\.jpg.png$/.png/' *.jpg.png
This, on GNU/Linux, with [:http://www.imagemagick.org/|imagemagick].
- Printer-friendly version
- 7146 reads

















Comments
Post new comment