Theme 1 – ID‑based encoding vs. actually drawing the flag
“I don't understand why this is the top comment. The article isn't about encoding a bag of unique items, it's about drawing the flag. So of course you can do it in 8 bits, because you're just storing the 'id', not how to draw it.” – NathanaelRea
Theme 2 – Dealing with complex or similar flags (coats of arms, aspect ratio, Union Jack, Nepal‑style geometry)
“I’m surprised that the near‑identical flags list omits Slovenia and Slovakia which both have white‑blue‑red horizontal stripes and a coat of arms (albeit with slightly different placement and different background colors on the coats of arms).” – dhosek
Theme 3 – Compression techniques and theoretical bit‑count limits
“you could also exploit the fact that some flags may appear more frequently than others and use huffman encoding or something to encode the commonly used flags in a shorter sequence than rarely‑mentioned countries, and save some bits on average.” – porphyra