Skip to content

Instantly share code, notes, and snippets.

View andresdominguez's full-sized avatar

Andres Dominguez andresdominguez

View GitHub Profile
@andresdominguez
andresdominguez / svg2png.sh
Created June 1, 2012 18:39 — forked from idosela/svg2png.sh
Convert svg to png file and optimize using pngcrush.
#!/bin/sh
#
# Require:
# sudo apt-get install librsvg2-bin
# sudo apt-get install pngcrush
#
# Usage:
# sh svg2png.sh input.svg output.png
rsvg-convert -o "$2" "$1"