Skip to content

Instantly share code, notes, and snippets.

@e0da

e0da/favify.bash

Created Nov 30, 2019
Embed
What would you like to do?
favify
#!/bin/bash -ex
# https://gist.github.com/justinforce/f1ddc69f63f95deeb3c0f0d2cf44b202
input=${1:-favicon.svg}
output=${2:-favicon.ico}
# https://gist.github.com/azam/3b6995a29b9f079282f3#gistcomment-2958717
convert \
-density 256x256 \
-background transparent \
-define icon:auto-resize \
-colors 256 \
$input \
$output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.