Convert TIFF to JPEG on Linux
I wanted to convert some high resolution TIFFs that Lisa took of Bill’s paintings recently and came up with this quick and dirty conversion into JPEG:
for i in *.tif; do tifftopnm "$i" | pnmtojpeg > "${i%.tif}.jpeg"; done
That’ll convert all .tif files in a directory to JPEG (using default processing setting).
I didn’t have exiftool
installed, and no internerd or media to install it from, otherwise I would’ve looked at doing the metadata too.