Created
June 11, 2019 19:50
-
-
Save solaris9000/d32352e64a4e471f58594c28e9c4af8b to your computer and use it in GitHub Desktop.
Using ImageMagik to resize photos
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
Using ImageMagik to resize photos | |
--------------------------------- | |
Pre-Reqs | |
-------- | |
Imagemagick is installed and in the system PATH | |
https://www.imagemagick.org/ | |
Procedure | |
--------- | |
To resize to 70% of orig on all files current folder and put the new files in a sub-folder called "small" | |
mogrify.exe -path small -resize 70% *.JPG | |
The above will work in powershell or cmd or git bash. Please note if using bash that filenames ARE case sensitive ie JPG vs jpg matters! | |
OR | |
mogrify.exe -path small -resize 70% -qaulity 80% *.JPG | |
This will change quality to 80% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment