mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 17:35:54 +03:00
[GH-ISSUE #324] SVG optimization #196
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#196
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 @gregorymachon on GitHub (Oct 31, 2016).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/324
Hi @lipis
We're looking into slimming down flags size, especially >400kB ones like
rsordo.Our use case requires 60x45px as the largest size so the pixel perfection is not exactly the key factor.
We've tried https://jakearchibald.github.io/svgomg/ and at least
rsgoes down quite significantly.I doubt you'll be willing to optimise them all using this tool, but maybe mentioning it in the README.md may be of value to some users.
Cheers /Greg
@lipis commented on GitHub (Oct 31, 2016):
In some use cases it might make sense.. I'll give it a try to see the results and if it's not ruining the quality too much I might use it for the big flags..
In general I'm using the SVGO before pushing the flags..
@lipis commented on GitHub (Oct 31, 2016):
Also I've seen this tool in the past.. and there is no command line for it if I recall.. right? Maybe that changed..?
@gregorymachon commented on GitHub (Oct 31, 2016):
Just had a look here https://github.com/jakearchibald/svgomg
SVGOMG = SVGO + MG (Missing GUI) :)
So it's pretty much the same thing, with I guess some additional options switched on by default (in the GUI).
@lipis commented on GitHub (Oct 31, 2016):
right..
@gregorymachon commented on GitHub (Nov 3, 2016):
Thanks for updating
rsflag.Just an FYI, on our end we've ended by with running:
svgo -f ./flags/4x3 -o ./flags/4x3 --config=svgo.yml --precision=1using belowsvgo.ymlsaving ~30% on the overall size.