Created
January 19, 2017 14:43
-
-
Save ygkn/739b9e33d953d9167f49e30afa6fdd42 to your computer and use it in GitHub Desktop.
Chrome Extension のアイコン複数サイズ作るの面倒くさい ref: http://qiita.com/ygkn/items/efa1e311006f5c900123
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
#!/bin/bash | |
for size in 16 48 128 | |
do | |
convert icons/source.png -resize ${size}x -unsharp 1.5x1+0.7+0.02 icons/${size}.png | |
done |
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
{ | |
"icons": { | |
"16": "icons/16.png", | |
"48": "icons/48.png", | |
"128": "icons/128.png" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment