Home » Questions » Computers [ Ask a new question ]

How can multiple image TIFF files be converted to JPEG files?

How can multiple image TIFF files be converted to JPEG files?

How can multiple image TIFF files be converted to JPEG files in a batch manner?

Asked by: Guest | Views: 57
Total answers/comments: 2
Guest [Entry]

"There's probably a slightly more elegant way, but this should do it for you:

for FILE in $(ls *.tif); do \
for I in R G B; do \
convert -channel $I -separate -format jpg $FILE $FILE-$I.jpg ; \
done ; \
done ; \
rename s/\.tif\-/\-/ *.jpg"
Guest [Entry]

Try convert or mogrify using ImageMagick. More instructions from ubuntuforumsdotorg.