Created
December 6, 2016 10:24
-
-
Save indatawetrust/ca5943ead5d442d3eb11f07b018ad3a6 to your computer and use it in GitHub Desktop.
libvips | convert tif to jpg
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
# apt-get install libvips libvips-dev | |
for f in *.tif; do | |
echo "Converting $f"; vips copy "$f" "$(basename "$f" .tif).jpg"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment