Convert Images in a Directory

for i in *.png ; do convert "$i" "${i%.*}.jpg" ; done
  • convert: convert between image formats using ImageMagick

A simple bash for-loop for convert many images at once.

Related

Next
Previous