[GH-ISSUE #494] Add Script To Convert SVG Flags In Xcode Asset Catalog #300

Closed
opened 2026-03-03 14:37:20 +03:00 by kerem · 7 comments
Owner

Originally created by @Blackjacx on GitHub (Oct 3, 2018).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/494

Hey wouldn't it be nice when user can just run the script and get an asset catalog Flags.xcassets that contains the assets in PDF format that is compatible with iOS?

What do you think? The script could use ImageMagick and generate the necessary JSON files. Here you have an example of an asset catalog:

Assets.xcassets.zip

Originally created by @Blackjacx on GitHub (Oct 3, 2018). Original GitHub issue: https://github.com/lipis/flag-icons/issues/494 Hey wouldn't it be nice when user can just run the script and get an asset catalog `Flags.xcassets` that contains the assets in PDF format that is compatible with iOS? What do you think? The script could use ImageMagick and generate the necessary JSON files. Here you have an example of an asset catalog: [Assets.xcassets.zip](https://github.com/lipis/flag-icon-css/files/2442457/Assets.xcassets.zip)
kerem 2026-03-03 14:37:20 +03:00
Author
Owner

@lipis commented on GitHub (Oct 3, 2018):

If you are up for writing that script I'll be happy to accept a PR.. as long as it's just a script and not the actual assets..

<!-- gh-comment-id:426716178 --> @lipis commented on GitHub (Oct 3, 2018): If you are up for writing that script I'll be happy to accept a PR.. as long as it's just a script and not the actual assets..
Author
Owner

@Blackjacx commented on GitHub (Oct 3, 2018):

Okay, leave that issue open please. I'll care for that. I am only on holiday the whole October. After that I can do that for you.

<!-- gh-comment-id:426732317 --> @Blackjacx commented on GitHub (Oct 3, 2018): Okay, leave that issue open please. I'll care for that. I am only on holiday the whole October. After that I can do that for you.
Author
Owner

@lipis commented on GitHub (Oct 3, 2018):

awesome

<!-- gh-comment-id:426732521 --> @lipis commented on GitHub (Oct 3, 2018): awesome
Author
Owner

@lipis commented on GitHub (Oct 26, 2018):

Just in case you have nothing to do @Blackjacx on your holidays.. :)

<!-- gh-comment-id:433451013 --> @lipis commented on GitHub (Oct 26, 2018): Just in case you have nothing to do @Blackjacx on your holidays.. :)
Author
Owner

@Blackjacx commented on GitHub (Oct 30, 2018):

Hey there, I will try to code it this week 😁

<!-- gh-comment-id:434426459 --> @Blackjacx commented on GitHub (Oct 30, 2018): Hey there, I will try to code it this week 😁
Author
Owner

@lipis commented on GitHub (Oct 31, 2018):

@Blackjacx no rush! :)

<!-- gh-comment-id:434630948 --> @lipis commented on GitHub (Oct 31, 2018): @Blackjacx no rush! :)
Author
Owner

@Blackjacx commented on GitHub (Nov 6, 2018):

OK done: https://github.com/lipis/flag-icon-css/pull/503

You can have a look. If you need any additions, you know where to find me ;-)

<!-- gh-comment-id:436084324 --> @Blackjacx commented on GitHub (Nov 6, 2018): OK done: https://github.com/lipis/flag-icon-css/pull/503 You can have a look. If you need any additions, you know where to find me ;-)
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#300
No description provided.