Created
January 7, 2015 10:41
-
-
Save thisislawatts/b2a3e12ba725910d6946 to your computer and use it in GitHub Desktop.
tifftojpeg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Converts all tiffs to jpg | |
# | |
# Requires imagemagick: | |
# brew install libtiff | |
# brew install imagemagick --with-libtiff (or brew reinstall) | |
# | |
function tifftojpeg() { | |
for i in *.tif; | |
do convert $i "${i%.*}.jpg"; | |
done; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment