Last active
December 16, 2021 23:26
-
-
Save BOLL7708/0b8b8379111c1c3472eda3f90e4a9c15 to your computer and use it in GitHub Desktop.
ImageMagick command script to resize an image for Twitch Community Challenges and Channel Rewards
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
if [%1]==[] goto :eof | |
:loop | |
SET filename=%1 | |
magick %filename% -resize 112x112 -quality 100 %filename:.png=_112.png% | |
magick %filename% -resize 56x56 -quality 100 %filename:.png=_56.png% | |
magick %filename% -resize 28x28 -quality 100 %filename:.png=_28.png% | |
shift | |
if not [%1]==[] goto loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment