Wed, 15 Jun 2022 12:17:29 +0300
Use Mapbox's ear clipping algorithm to handle drawing any simple polygon
6 | 1 | #!/bin/bash |
2 | for flag in *.svg | |
3 | do | |
4 | flag_png="${flag%.svg}.png" | |
5 | echo "$flag => $flag_png" | |
6 | inkscape -z -e ${flag_png} -w 64 $flag | |
7 | done |