Created
July 7, 2013 12:24
-
-
Save vitalyfriedman/5943304 to your computer and use it in GitHub Desktop.
Resizing JPEG images in a folder (two versions).
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
ls *.jpg|while read i;do convert $i -strip -interlace Plane -resize "500x" -unsharp 2x0.5+0.5+0 -quality 90 `basename $i .jpg`_small.jpg; convert $i -strip -interlace Plane -resize "1000x" -unsharp 2x0.5+0.5+0 -quality 90 `basename $i .jpg`_large.jpg; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment