mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 09:25:50 +03:00
[GH-ISSUE #1107] File size and civil flags #520
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#520
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sandstrom on GitHub (Jun 15, 2023).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1107
Thanks for a great repo!
Since these are mostly used for icons, size is somewhat of a factor. Having a 187 kb icon isn't ideal.
Would you be open to reducing the file size using this principle?
It would allow us to use a much smaller file for Russia, Bolivia, Spain and a few others that are currently quite large. It would also seem like a fairly neutral principle, where we'd still allow large file sizes if there isn't a reasonable alternative.
https://en.wikipedia.org/wiki/Civil_flag
https://en.wikipedia.org/wiki/State_flag
Second wiki article contains a list of examples of state vs. civil flag.
Other benefits
The civil flag is generally the most well known, so people will have an easier time mapping flag to country when the civil version is used.
Since these are meant to be used for icons, when displayed as a small icon, they are generally much easier to read when they don't contain too much detail.
Example from macOS, the details of these icons aren't rely legible anyway.
@NotTsunami commented on GitHub (Jun 19, 2023):
I'll leave this open as a general note to look for the optimization of flags as a whole, but I will veto this for now. I'd rather approach this from the angle of optimizing some of the more complex/larger flags. There are definitely several flags we can work on achieving a smaller file size on.
@sandstrom commented on GitHub (Jun 20, 2023):
@NotTsunami I understand.
Another somewhat related question, what would you say is the appropriate flag to use for Russia? (just as an example)
https://en.wikipedia.org/wiki/Flag_of_Russia
https://commons.wikimedia.org/wiki/File:Russian_Embassy_in_London_%2851923829611%29.jpg
Because the flag they seem to be using themselves mostly is the civil version, which is different (smaller file size) than the one used in this project.
@lipis commented on GitHub (Jul 24, 2023):
Yes.. I agree with @NotTsunami.. let's not maintain so many flags! We can reduce sizes one flag at the time :)