[PR #393] [CLOSED] Optimizing flags #782

Closed
opened 2026-03-03 14:40:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/393
Author: @ritcheyer
Created: 9/21/2017
Status: Closed

Base: masterHead: optimizing-flags


📝 Commits (2)

  • 264dfa4 Run flags through svgo for optimizations
  • 59a9a98 optimizing to 1 point of precision

📊 Changes

512 files changed (+512 additions, -0 deletions)

View changed files

flags/optimized/1x1/ad.svg (+1 -0)
flags/optimized/1x1/ae.svg (+1 -0)
flags/optimized/1x1/af.svg (+1 -0)
flags/optimized/1x1/ag.svg (+1 -0)
flags/optimized/1x1/ai.svg (+1 -0)
flags/optimized/1x1/al.svg (+1 -0)
flags/optimized/1x1/am.svg (+1 -0)
flags/optimized/1x1/ao.svg (+1 -0)
flags/optimized/1x1/aq.svg (+1 -0)
flags/optimized/1x1/ar.svg (+1 -0)
flags/optimized/1x1/as.svg (+1 -0)
flags/optimized/1x1/at.svg (+1 -0)
flags/optimized/1x1/au.svg (+1 -0)
flags/optimized/1x1/aw.svg (+1 -0)
flags/optimized/1x1/ax.svg (+1 -0)
flags/optimized/1x1/az.svg (+1 -0)
flags/optimized/1x1/ba.svg (+1 -0)
flags/optimized/1x1/bb.svg (+1 -0)
flags/optimized/1x1/bd.svg (+1 -0)
flags/optimized/1x1/be.svg (+1 -0)

...and 80 more files

📄 Description

Using SVGO to optimized all flag icons for trimmin' the fat.

This uses the default settings of the tool with the exception of Precision. I tested a few different images using SVGOMG's online tool and using 1 point of precision still maintains high-quality svgs.

Visual inspection of the Flags also shows that they retain quality as per the originals


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lipis/flag-icons/pull/393 **Author:** [@ritcheyer](https://github.com/ritcheyer) **Created:** 9/21/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `optimizing-flags` --- ### 📝 Commits (2) - [`264dfa4`](https://github.com/lipis/flag-icons/commit/264dfa4b6da7ed9c1afe8db66c68df1e10baa5f2) Run flags through svgo for optimizations - [`59a9a98`](https://github.com/lipis/flag-icons/commit/59a9a9845d03b039d45d0f3b834e329b806e7b24) optimizing to 1 point of precision ### 📊 Changes **512 files changed** (+512 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `flags/optimized/1x1/ad.svg` (+1 -0) ➕ `flags/optimized/1x1/ae.svg` (+1 -0) ➕ `flags/optimized/1x1/af.svg` (+1 -0) ➕ `flags/optimized/1x1/ag.svg` (+1 -0) ➕ `flags/optimized/1x1/ai.svg` (+1 -0) ➕ `flags/optimized/1x1/al.svg` (+1 -0) ➕ `flags/optimized/1x1/am.svg` (+1 -0) ➕ `flags/optimized/1x1/ao.svg` (+1 -0) ➕ `flags/optimized/1x1/aq.svg` (+1 -0) ➕ `flags/optimized/1x1/ar.svg` (+1 -0) ➕ `flags/optimized/1x1/as.svg` (+1 -0) ➕ `flags/optimized/1x1/at.svg` (+1 -0) ➕ `flags/optimized/1x1/au.svg` (+1 -0) ➕ `flags/optimized/1x1/aw.svg` (+1 -0) ➕ `flags/optimized/1x1/ax.svg` (+1 -0) ➕ `flags/optimized/1x1/az.svg` (+1 -0) ➕ `flags/optimized/1x1/ba.svg` (+1 -0) ➕ `flags/optimized/1x1/bb.svg` (+1 -0) ➕ `flags/optimized/1x1/bd.svg` (+1 -0) ➕ `flags/optimized/1x1/be.svg` (+1 -0) _...and 80 more files_ </details> ### 📄 Description Using [SVGO](https://github.com/svg/svgo) to optimized all flag icons for trimmin' the fat. This uses the default settings of the tool with the exception of Precision. I tested a few different images using [SVGOMG](https://jakearchibald.github.io/svgomg/)'s online tool and using 1 point of precision still maintains high-quality svgs. Visual inspection of the Flags also shows that they retain quality as per the originals --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:40:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#782
No description provided.