Skip to content

Instantly share code, notes, and snippets.

View martinec's full-sized avatar
🚀
Turning data into Knowledge

Cristian Martinez martinec

🚀
Turning data into Knowledge
View GitHub Profile
@martinec
martinec / Makefile
Last active August 29, 2015 14:01
Batch convert SVG files in a set of PNG images in different sizes
# This makefile uses the inkscape command line mode to export
# SVG files in a set of foo-{SIZES}.png images
all: icons
# Input SVG images without extensions
IMAGES = icon icon_inactive
# Output PNG sizes
SIZES = 16 32 48 64
INKSCAPE = inkscape
DASH = -