Skip to content

khui0/flaggle-flag-generator

Repository files navigation

flaggle-flag-generator

Generate images of country flags with a common aspect ratio to use in Flaggle

Usage

First, install dependencies. This will also fetch codes.json from flagpedia.net using cURL.

npm i

Then, create images using

npm run start

Generates 360x240 PNG images by default (3:2 or 1.5 aspect ratio). This can be changed by editing src/index.ts

About

Generate flag images with a common aspect ratio

Topics

Resources

License

Stars

Watchers

Forks