Last active
November 5, 2020 19:29
-
-
Save mnyrop/24fca072ff368bef373ddeb9392e256a to your computer and use it in GitHub Desktop.
convert jpeg to tiff, no resizing
This file contains 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
TIFF_DIR="tiffs" | |
if [ ! -d "${TIFF_DIR}" ]; | |
then | |
mkdir ${TIFF_DIR} | |
fi | |
for JPG in *.jpg; do | |
TIFF="$(basename ${JPG} .jpg).tiff" | |
convert -compress none ${JPG} ${TIFF} | |
mv ${TIFF} ${TIFF_DIR} | |
echo "Converted ${TIFF}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment