Skip to content

Instantly share code, notes, and snippets.

@hatemogi
Created July 18, 2022 14:01
Show Gist options
  • Save hatemogi/56338b0863dedf7ee38964d990c7351a to your computer and use it in GitHub Desktop.
Save hatemogi/56338b0863dedf7ee38964d990c7351a to your computer and use it in GitHub Desktop.
favicon.png -> favicon.ico 변환
convert favicon.png -bordercolor white -border 0 \
\( -clone 0 -resize 16x16 \) \
\( -clone 0 -resize 32x32 \) \
\( -clone 0 -resize 48x48 \) \
\( -clone 0 -resize 64x64 \) \
\( -clone 0 -resize 128x128 \) \
\( -clone 0 -resize 256x256 \) \
-delete 0 -alpha off -colors 256 favicon.ico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment