Last active
August 29, 2015 14:02
-
-
Save oisin/d9804ed2330da2de7c23 to your computer and use it in GitHub Desktop.
Convert all TIFF files in the current directory to PNG
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
# Crush all the Pings! | |
for i in *.png | |
pngcrush "$i" `basename -s .png "$i"`-crushed.png |
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
# Convert all ye tiffs to pngs | |
foreach i in *.tiff | |
do | |
convert "$i" `basename -s .tiff "$i"`.png | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment