Created
August 5, 2016 10:00
-
-
Save harish2704/ebc304d83d53ccd578db5e49faa8e1f9 to your computer and use it in GitHub Desktop.
automatically resize icons for Linux desktop configuration file in 256 128 96 and 48 pixel resolution
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
for i in 256 128 96 48; do dname="${i}x${i}"; mkdir $dname; convert INFILE.png -resize $dname "$dname/OUTFILE.png"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment