Skip to content

Commit

Permalink
Replace some PNG flags with their SVG versions
Browse files Browse the repository at this point in the history
Ideally all the remaing PNG flags would be replaced with SVG versions,
but some of the 'SVG's on wikimedia are rather large.  The criterion
for choosing which to replace was if the SVG optimised with svgo was
smaller than 62 kB (cut-off was raised from my initial goal of 60 kB,
so that Saint Helena at 61 kB could just scrape in...).
  • Loading branch information
aplaice committed Jul 25, 2019
1 parent cc7c541 commit 47fae09
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ lr1v|Atq>-,Greece,Griechenland,,,Athens,Athen,,,,,"<img src=""ug-flag-greece.svg
gX&04dwF4K,Greenland,Grönland,"Self-governing territory of Denmark.","Selbstverwaltetes Gebiet von Dänemark.",Nuuk,Nuuk,,,,,"<img src=""ug-flag-greenland.svg"" />",,,"<img src=""ug-map-greenland.png"" />",UG::Europe
kOKi`(Zy9C,Hungary,Ungarn,,,Budapest,Budapest,,,,,"<img src=""ug-flag-hungary.svg"" />",,,"<img src=""ug-map-hungary.png"" />","UG::Europe UG::European_Union UG::Sovereign_State"
e#egEUHJ3(,Albania,Albanien,,,Tirana,Tirana,,,,,"<img src=""ug-flag-albania.svg"" />",,,"<img src=""ug-map-albania.png"" />","UG::Europe UG::Mediterranean UG::Sovereign_State"
b|eaD7qKo],Andorra,Andorra,,,"Andorra la Vella","Andorra la Vella",,,,,"<img src=""ug-flag-andorra.png"" />","Moldova (wider, different coat of arms with eagle)","Republik Moldau/Moldawien (breiter, anderes Wappen mit Adler)","<img src=""ug-map-andorra.png"" />","UG::Europe UG::Sovereign_State"
b|eaD7qKo],Andorra,Andorra,,,"Andorra la Vella","Andorra la Vella",,,,,"<img src=""ug-flag-andorra.svg"" />","Moldova (wider, different coat of arms with eagle)","Republik Moldau/Moldawien (breiter, anderes Wappen mit Adler)","<img src=""ug-map-andorra.png"" />","UG::Europe UG::Sovereign_State"
pAI(peiC8R,Austria,Österreich,,,Vienna,Wien,,,,,"<img src=""ug-flag-austria.svg"" />","Latvia (darker red, narrower white band)","Lettland (dunkleres rot, dünneres weißes Band)","<img src=""ug-map-austria.png"" />","UG::Europe UG::European_Union UG::Sovereign_State"
ii$pXyvZl*,Azerbaijan,Aserbaidschan,,,Baku,Baku,,,,,"<img src=""ug-flag-azerbaijan.svg"" />",,,"<img src=""ug-map-azerbaijan.png"" />","UG::Europe UG::Sovereign_State"
"jl7,HNQ-*C",Belarus,Weißrussland,,,Minsk,Minsk,,,,,"<img src=""ug-flag-belarus.svg"" />",,,"<img src=""ug-map-belarus.png"" />","UG::Europe UG::Sovereign_State"
Expand Down Expand Up @@ -46,7 +46,7 @@ his*oE$.bt,"San Marino","San Marino",,,"City of San Marino","San Marino",,,,,"<i
sU}vJmyFCk,Serbia,Serbien,,,Belgrade,Belgrad,,,,,"<img src=""ug-flag-serbia.png"" />",,,"<img src=""ug-map-serbia.png"" />","UG::Europe UG::Sovereign_State"
o_Qs1fsA*`,Slovakia,Slowakei,,,Bratislava,Bratislava,,,,,"<img src=""ug-flag-slovakia.svg"" />",,,"<img src=""ug-map-slovakia.png"" />","UG::Europe UG::European_Union UG::Sovereign_State"
etAIJgAn)8,Slovenia,Slowenien,,,Ljubljana,Ljubljana,,,,,"<img src=""ug-flag-slovenia.svg"" />",,,"<img src=""ug-map-slovenia.png"" />","UG::Europe UG::European_Union UG::Mediterranean UG::Sovereign_State"
db{up5I>x|,Spain,Spanien,,,Madrid,Madrid,,,,,"<img src=""ug-flag-spain.png"" />",,,"<img src=""ug-map-spain.png"" />","UG::Europe UG::European_Union UG::Mediterranean UG::Sovereign_State"
db{up5I>x|,Spain,Spanien,,,Madrid,Madrid,,,,,"<img src=""ug-flag-spain.svg"" />",,,"<img src=""ug-map-spain.png"" />","UG::Europe UG::European_Union UG::Mediterranean UG::Sovereign_State"
q]au(Cz(^`,Sweden,Schweden,,,Stockholm,Stockholm,,,,,"<img src=""ug-flag-sweden.svg"" />",,,"<img src=""ug-map-sweden.png"" />","UG::Europe UG::European_Union UG::Sovereign_State"
j^y9}r#a`i,Switzerland,Schweiz,,,Bern,Bern,,,,,"<img src=""ug-flag-switzerland.svg"" />",,,"<img src=""ug-map-switzerland.png"" />","UG::Europe UG::Sovereign_State"
h(8o@usM_h,Turkey,Türkei,,,Ankara,Ankara,,,,,"<img src=""ug-flag-turkey.svg"" />",,,"<img src=""ug-map-turkey.png"" />","UG::Asia UG::Middle_East UG::Mediterranean UG::Sovereign_State"
Expand Down Expand Up @@ -149,7 +149,7 @@ stDJ0UMUpB,Turkmenistan,Turkmenistan,,,Ashgabat,Aschgabat,,,,,"<img src=""ug-fla
cd|8X=p-KA,Yemen,Jemen,,,Sana'a,Sanaa,,,,,"<img src=""ug-flag-yemen.svg"" />","Egypt (with emblem), Iraq (with text) and Syria (with two stars)","Ägypten (mit Emblem), Irak (mit Text) und Syrien (mit zwei Sternen)","<img src=""ug-map-yemen.png"" />","UG::Asia UG::Middle_East UG::Sovereign_State"
n(u/Le9LCH,Vietnam,Vietnam,,,Hanoi,Hanoi,,,,,"<img src=""ug-flag-vietnam.svg"" />",,,"<img src=""ug-map-vietnam.png"" />","UG::Asia UG::Southeast_Asia UG::Sovereign_State"
kN&[K]7`>c,Uzbekistan,Usbekistan,,,Tashkent,Taschkent,,,,,"<img src=""ug-flag-uzbekistan.svg"" />",,,"<img src=""ug-map-uzbekistan.png"" />","UG::Asia UG::Sovereign_State"
e%F*sk0uaT,Fiji,Fidschi,,,Suva,Suva,,,,,"<img src=""ug-flag-fiji.png"" />",,,"<img src=""ug-map-fiji.png"" />","UG::Oceania UG::Sovereign_State"
e%F*sk0uaT,Fiji,Fidschi,,,Suva,Suva,,,,,"<img src=""ug-flag-fiji.svg"" />",,,"<img src=""ug-map-fiji.png"" />","UG::Oceania UG::Sovereign_State"
jT[(te+7i%,"Papua New Guinea",Papua-Neuguinea,,,"Port Moresby","Port Moresby",,,,,"<img src=""ug-flag-papua_new_guinea.svg"" />",,,"<img src=""ug-map-papua_new_guinea.png"" />","UG::Oceania UG::Sovereign_State"
i~E.z}UxNF,Australia,Australien,,,Canberra,Canberra,,,,,"<img src=""ug-flag-australia.svg"" />","New Zealand (red stars, two fewer stars)","Neuseeland (rote Sterne, zwei Sterne weniger)","<img src=""ug-map-australia.png"" />","UG::Oceania UG::Sovereign_State"
pAOtFl&>U#,"Solomon Islands",Salomonen,,"Auch Salomoninseln.",Honiara,Honiara,,,,,"<img src=""ug-flag-solomon_islands.svg"" />",,,"<img src=""ug-map-solomon_islands.png"" />","UG::Oceania UG::Sovereign_State"
Expand Down Expand Up @@ -185,7 +185,7 @@ cIMc3Nzy>W,Barbados,Barbados,,,Bridgetown,Bridgetown,,,,,"<img src=""ug-flag-bar
rOVL2(d0m^,Belize,Belize,,,Belmopan,Belmopan,,,,,"<img src=""ug-flag-belize.png"" />",,,"<img src=""ug-map-belize.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
"s,m:kRL/53","Costa Rica","Costa Rica",,,"San José","San José",,,,,"<img src=""ug-flag-costa_rica.svg"" />","Thailand (red and blue inverted)","Thailand (Rot und Blau vertauscht)","<img src=""ug-map-costa_rica.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
il{B6F&ui9,"El Salvador","El Salvador",,,"San Salvador","San Salvador",,,,,"<img src=""ug-flag-el_salvador.png"" />","Nicaragua (different coat of arms)","Nicaragua (anderes Wappen)","<img src=""ug-map-el_salvador.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
b^_Av:%|%E,Guatemala,Guatemala,,,"Guatemala City",Guatemala-Stadt,,,,,"<img src=""ug-flag-guatemala.png"" />",,,"<img src=""ug-map-guatemala.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
b^_Av:%|%E,Guatemala,Guatemala,,,"Guatemala City",Guatemala-Stadt,,,,,"<img src=""ug-flag-guatemala.svg"" />",,,"<img src=""ug-map-guatemala.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
rGPlNG/dw%,Honduras,Honduras,,,Tegucigalpa,Tegucigalpa,,,,,"<img src=""ug-flag-honduras.svg"" />",,,"<img src=""ug-map-honduras.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
oz4yuR}6W$,Nicaragua,Nicaragua,,,Managua,Managua,,,,,"<img src=""ug-flag-nicaragua.svg"" />","El Salvador (different coat of arms)","El Salvador (anderes Wappen)","<img src=""ug-map-nicaragua.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
t1/=+}2*3>,Panama,Panama,,,"Panama City",Panama-Stadt,,,,,"<img src=""ug-flag-panama.svg"" />",,,"<img src=""ug-map-panama.png"" />","UG::America UG::North+Central_America UG::Sovereign_State"
Expand All @@ -212,7 +212,7 @@ ogLVp1-2mC,"Turks and Caicos Islands","Turks- und Caicosinseln","Overseas territ
t8K|Gnw[k$,"Cayman Islands","Cayman Islands (Kaimaninseln)","Overseas territory of the United Kingdom.","Überseegebiet des Vereinigten Königreichs.","George Town","George Town",,,"Two-word country name",Zwei-Wort-Ländername,"<img src=""ug-flag-cayman_islands.svg"" />",,,"<img src=""ug-map-cayman_islands.png"" />","UG::America UG::Caribbean"
cy]sz097{A,Anguilla,Anguilla,"Overseas territory of the United Kingdom.","Britisches Überseegebiet.","The Valley","The Valley",,,,,"<img src=""ug-flag-anguilla.svg"" />",,,"<img src=""ug-map-anguilla.png"" />","UG::America UG::Caribbean"
"hz,n^64X%i",Azores,"Azoren (Habichtsinseln)","Autonomous region of Portugal.","Autonome Region von Portugal.","Ponta Delgada","Ponta Delgada",,,,,"<img src=""ug-flag-azores.svg"" />",,,"<img src=""ug-map-azores.jpg"" />",UG::Europe
"rHh8*,y.yc",Ceuta,Ceuta,"Autonomous city of Spain.","Autonome spanische Stadt.",,,,,,,"<img src=""ug-flag-ceuta.png"" />",,,"<img src=""ug-map-ceuta.jpg"" />",UG::Europe
"rHh8*,y.yc",Ceuta,Ceuta,"Autonomous city of Spain.","Autonome spanische Stadt.",,,,,,,"<img src=""ug-flag-ceuta.svg"" />",,,"<img src=""ug-map-ceuta.jpg"" />",UG::Europe
k3]]2^DP1R,"Christmas Island",Weihnachtsinsel,"External territory of Australia.","Australisches Außengebiet.","Flying Fish Cove","Flying Fish Cove",,,,,"<img src=""ug-flag-christmas_island.svg"" />",,,"<img src=""ug-map-christmas_island.png"" />","UG::Asia UG::Southeast_Asia"
mMdbj-!g%k,Curaçao,Curaçao,"Constituent country of the Kingdom of the Netherlands.","Autonomes Land innerhalb des Königreichs der Niederlande.",Willemstad,Willemstad,,,,,"<img src=""ug-flag-curacao.svg"" />","Nauru (single star below yellow band)","Nauru (einzelner Stern unter gelbem Band)","<img src=""ug-map-curacao.png"" />","UG::America UG::Caribbean"
rNv|0qxR]K,"Easter Island",Osterinsel,"Polynesian island and special territory of Chile.","Polynesische Insel unter Chilenischer Regierung.",,,,,,,"<img src=""ug-flag-easter_island.svg"" />",,,"<img src=""ug-map-easter_island.png"" />",UG::Oceania
Expand Down Expand Up @@ -243,11 +243,11 @@ mCh>s18~IX,"Pitcairn Islands",Pitcairninseln,"Overseas territory of the United K
bHD8m}tJ&v,"Åland Islands",Åland,"Autonomous region of Finland.","Autonome Region Finnlands.
Auch Ålandinseln.",Mariehamn,Mariehamn,,,,,"<img src=""ug-flag-aland_islands.svg"" />",,,"<img src=""ug-map-aland_islands.png"" />",UG::Europe
mvNnHkGnVl,"Cocos (Keeling) Islands",Kokosinseln,"External territory of Australia.","Australisches Außengebiet.","West Island","West Island",,,,,"<img src=""ug-flag-cocos_islands.svg"" />",,,"<img src=""ug-map-cocos_islands.png"" />","UG::Asia UG::Southeast_Asia"
khTp#J9C!!,"Saint Helena","St. Helena","Part of Saint Helena, Ascension and Tristan da Cunha, an overseas territory of the United Kingdom.","Teil von St. Helena, Ascension und Tristan da Cunha, einem Überseegebiet des Vereinigten Königreichs.",Jamestown,Jamestown,,,,,"<img src=""ug-flag-saint_helena.png"" />",,,"<img src=""ug-map-saint_helena.png"" />",UG::Africa
khTp#J9C!!,"Saint Helena","St. Helena","Part of Saint Helena, Ascension and Tristan da Cunha, an overseas territory of the United Kingdom.","Teil von St. Helena, Ascension und Tristan da Cunha, einem Überseegebiet des Vereinigten Königreichs.",Jamestown,Jamestown,,,,,"<img src=""ug-flag-saint_helena.svg"" />",,,"<img src=""ug-map-saint_helena.png"" />",UG::Africa
r3?J{NB0J3,"Sint Eustatius","Sint Eustatius","Special municipality of the Netherlands.","Besondere Gemeinde der Niederlande.",Oranjestad,Oranjestad,,,"Special municipality","Besondere Gemeinde","<img src=""ug-flag-sint_eustatius.svg"" />",,,"<img src=""ug-map-sint_eustatius.png"" />","UG::America UG::Caribbean"
nE1cs;TFgo,"South Ossetia",Südossetien,"Independent state claimed by Georgia.","Unabhängiger Staat, von Georgien beansprucht.",Tskhinvali,Zchinwali,,,,,"<img src=""ug-flag-south_ossetia.svg"" />",,,"<img src=""ug-map-south_ossetia.png"" />","UG::Asia UG::Sovereign_State"
nN<IGBxnX.,Tokelau,Tokelau,"Dependent territory of New Zealand. Tokelau has no official capital; the meeting place of the Tokelau Council rotates annually.","Von Neuseeland abhängiges Gebiet. Tokelau hat keine offizielle Hauptstadt; der Treffpunkt des Tokelauer Rates wechselt jährlich.",,,,,,,"<img src=""ug-flag-tokelau.svg"" />",,,"<img src=""ug-map-tokelau.png"" />",UG::Oceania
lU*>%[&e|.,"American Samoa",Amerikanisch-Samoa,"Unincorporated territory of the United States.","Nichtinkorporiertes US-amerikanisches Außengebiet.","Pago Pago","Pago Pago",,,,,"<img src=""ug-flag-american_samoa.png"" />",,,"<img src=""ug-map-american_samoa.png"" />",UG::Oceania
lU*>%[&e|.,"American Samoa",Amerikanisch-Samoa,"Unincorporated territory of the United States.","Nichtinkorporiertes US-amerikanisches Außengebiet.","Pago Pago","Pago Pago",,,,,"<img src=""ug-flag-american_samoa.svg"" />",,,"<img src=""ug-map-american_samoa.png"" />",UG::Oceania
nK;HFcd-1P,"Northern Mariana Islands","Nördliche Marianen","Unincorporated territory of the United States.","Nichtinkorporiertes US-amerikanisches Außengebiet.",Saipan,Saipan,,,,,"<img src=""ug-flag-northern_mariana_islands.svg"" />",,,"<img src=""ug-map-northern_mariana_islands.png"" />",UG::Oceania
s7{M&?)+C&,Aruba,Aruba,"Constituent country of the Kingdom of the Netherlands.","Autonomes Land innerhalb des Königreichs der Niederlande.",Oranjestad,Oranjestad,,,"Constituent country",,"<img src=""ug-flag-aruba.svg"" />",,,"<img src=""ug-map-aruba.png"" />","UG::America UG::Caribbean"
q@4oQPt%lt,Abkhazia,Abchasien,"Independent state claimed by Georgia.","Unabhängiger Staat, der von Georgien beansprucht wird.",Sukhumi,Sochumi,,,,,"<img src=""ug-flag-abkhazia.svg"" />",,,"<img src=""ug-map-abkhazia.png"" />","UG::Europe UG::Sovereign_State"
Expand Down
Binary file removed src/media/ug-flag-american_samoa.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-american_samoa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/media/ug-flag-andorra.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-andorra.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/media/ug-flag-ceuta.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-ceuta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/media/ug-flag-fiji.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-fiji.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/media/ug-flag-guatemala.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-guatemala.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/media/ug-flag-saint_helena.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-saint_helena.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/media/ug-flag-spain.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/media/ug-flag-spain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 47fae09

Please sign in to comment.