Fun with Flags - SVG

flags_svg_package.zip (2.5 MB)

Rolf presents: Fun with Flags - A homage to The Big Bang Theory.

flags_iso3166svg.py is a series of base64 encoded svg images of Country’s Flags and Regional Flags
with a small set of country details, capital, languages etc and standard UTC timezone information
See:
List of ISO 3166 country codes - Wikipedia

These images are aimed at being used in menus, BitmapComboBox, ListCtrl, TreeCtrl etc. wherever a bitmap can be inserted,
to add some clarity and va-va-voom, to your code.

There are currently 249 Country flags and 315 Regional flags (at last count) in flags_iso3166svg.py.
Regional flags are for Australia, Canada, Germany, Spain, France, Italy, Great Britain, Japan, Russia and the USA

Subcatergories containing the files for lone continents as opposed to the World, has had to be posted separately, due to size restrictions.

Fun with Flags - SVG gets a bump to be Windows friendlier and the addition of Emoji flags.
Displaying SVG images via cairosvg can be problematic on Windows, whilst straightforward on Linux.
For those on the Windows platform, please read the relevant chapter in the ReadMe pdf file, for how to adapt flags_iso3166svg.py to add in the path to cairosvg DLL’s on your machine.
Again on Windows, the Emoji flag codes may not display, I believe this will be fixed in the next version of wxPython.

Have Fun (with Flags)
Rolf
flags_svg_package.zip (2.5 MB)