flags/make_flags.sh

Wed, 15 Jun 2022 12:17:29 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 15 Jun 2022 12:17:29 +0300
changeset 223
ce81db996275
parent 6
73e448b2943d
permissions
-rwxr-xr-x

Use Mapbox's ear clipping algorithm to handle drawing any simple polygon

#!/bin/bash
for flag in *.svg
do
	flag_png="${flag%.svg}.png"
	echo "$flag => $flag_png"
	inkscape -z -e ${flag_png} -w 64 $flag
done

mercurial