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 | |
# sudo apt-get install jq librsvg2-bin imagemagick | |
# Move each vector image to the origin, scale, and move it back again | |
# Outputs a SIZExSIZE transparent png | |
# Also outputs scss (Sassy CSS) fragments, unless "-q" is an input argument | |
SIZE=48 | |
SCALE_FACTOR=0.65 | |
ARGS=("$@") |