{"id":15659458,"url":"https://github.com/linusu/rasterizexcassets","last_synced_at":"2025-05-05T19:29:06.795Z","repository":{"id":65992108,"uuid":"126471154","full_name":"LinusU/RasterizeXCAssets","owner":"LinusU","description":"Rasterize svg files into your XCAssets","archived":false,"fork":false,"pushed_at":"2022-02-18T11:21:23.000Z","size":13,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T23:04:39.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinusU.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-23T10:39:53.000Z","updated_at":"2024-09-11T08:20:05.000Z","dependencies_parsed_at":"2023-05-21T15:45:36.071Z","dependency_job_id":null,"html_url":"https://github.com/LinusU/RasterizeXCAssets","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2FRasterizeXCAssets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2FRasterizeXCAssets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2FRasterizeXCAssets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusU%2FRasterizeXCAssets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinusU","download_url":"https://codeload.github.com/LinusU/RasterizeXCAssets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252562472,"owners_count":21768297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T13:17:01.193Z","updated_at":"2025-05-05T19:29:06.763Z","avatar_url":"https://github.com/LinusU.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RasterizeXCAssets\n\nRasterize svg files into your XCAssets.\n\n## Installation\n\nInstallation via [Mint](https://github.com/yonaskolb/Mint):\n\n```sh\nmint install LinusU/RasterizeXCAssets\n```\n\n## Usage\n\n**converting `logo.svg` to an appiconset xcasset:**\n\n```sh\nrasterizexcassets logo.svg Sources/Assets.xcassets/AppIcon.appiconset\n```\n\nThe command will load the svg file `logo.svg`, and then rasterize it to all sizes that should be present for an appiconset. It will also create the neccesary `Contents.json` file, and create `Assets.xcassets` if it doesn't exist.\n\n**converting `greeting.svg` to an imageset xcasset:**\n\n```sh\nrasterizexcassets greeting.svg Sources/Assets.xcassets/Greeting.imageset --size 120x200\n```\n\nThe command will load the svg file `logo.svg`, and then rasterize it to the size specified at 1x, 2x and 3x. It will also create the neccesary `Contents.json` file, and create `Assets.xcassets` if it doesn't exist.\n\n## Related tools\n\n- [jkmathew/Assetizer](https://github.com/jkmathew/Assetizer) - Creates Assets from raster images\n- **LinusU/RasterizeXCAssets** - Create AppIcons \u0026 Assets from SVGs\n- [num42/icon-resizer-swift](https://github.com/num42/icon-resizer-swift) - Create AppIcons from raster images\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusu%2Frasterizexcassets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinusu%2Frasterizexcassets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusu%2Frasterizexcassets/lists"}