Skip to content
Snippets Groups Projects
Commit fff35ef7 authored by Jake's avatar Jake
Browse files

added convert-favicon.sh

parent 7c0e3b4d
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
function convertfavicon() {
targetsize="${1}"
#inkscape -z -e "favicon-${targetsize}.png" -w "${targetsize}" -h "${targetsize}" favicon.svg
inkscape --export-area-snap --export-type png --export-filename "favicon-${targetsize}.png" -w "${targetsize}" -h "${targetsize}" favicon.svg
}
convertfavicon 32
convertfavicon 57
convertfavicon 72
convertfavicon 114
convertfavicon 144
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment