Created
November 9, 2017 15:58
-
-
Save kingargyle/6d9354d50ccbf6b4d681bb5c7ab6666b to your computer and use it in GitHub Desktop.
Batch Convert Images with ImageMagic
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
Command line option for converting a batch of images from jpeg to png, adding a transparent background and resizing the images to 30% | |
of their original file size. | |
FOR /R %a IN (*.jpg) DO "C:\Program Files\ImageMagick-7.0.7-Q16\magick.exe" "%~a" -transparent black -adaptive-resize 28x29%\! "C:\Work\temp\%~na.png" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment