{"id":18805672,"url":"https://github.com/j-jamet/android-raster-icons","last_synced_at":"2025-04-13T19:11:57.585Z","repository":{"id":196900708,"uuid":"58211294","full_name":"J-Jamet/Android-Raster-Icons","owner":"J-Jamet","description":"Convert SVG Inkscape custom icons of Android App in each raster image with right resolution.","archived":false,"fork":false,"pushed_at":"2022-08-08T15:14:10.000Z","size":465,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T09:51:49.751Z","etag":null,"topics":["android","drawable","icons","inkscape","png","raster","svg"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/J-Jamet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-05-06T14:03:35.000Z","updated_at":"2024-07-17T17:46:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc7c95d1-89a4-4a8f-8304-953c439147af","html_url":"https://github.com/J-Jamet/Android-Raster-Icons","commit_stats":null,"previous_names":["j-jamet/android-raster-icons"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-Jamet%2FAndroid-Raster-Icons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-Jamet%2FAndroid-Raster-Icons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-Jamet%2FAndroid-Raster-Icons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-Jamet%2FAndroid-Raster-Icons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J-Jamet","download_url":"https://codeload.github.com/J-Jamet/Android-Raster-Icons/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766739,"owners_count":21158301,"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":["android","drawable","icons","inkscape","png","raster","svg"],"created_at":"2024-11-07T22:44:41.022Z","updated_at":"2025-04-13T19:11:57.554Z","avatar_url":"https://github.com/J-Jamet.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Raster Icons\n\nBuild and convert SVG Inkscape custom icons of Android App in each raster image with right resolution.\n\n![preview](https://raw.githubusercontent.com/J-Jamet/Android-Raster-Icons/HEAD/template_ic_launcher.jpg)\n\n![preview](https://raw.githubusercontent.com/J-Jamet/Android-Raster-Icons/HEAD/previewIcons.jpg)\n\n## Usage\n\n1. [Inkscape](https://inkscape.org/fr/) must be installed on your linux machine.\n\n2. Use the **default_ic_launcher.svg** and **default_ic_launcher_round.svg** to create main application icons. *(rename as **ic_launcher.svg** and **ic_launcher_round.svg**)*\n\n3. Use the **default.svg** files to create global icons. *(rename each icon with the convention **ic_[name].svg**)*\n\n4. *Launch script with :*\n\n```\n./AndroidRasterIcons.sh \u003cinputFolder\u003e \u003coutputFolder\u003e\n```\n\n**Note** : All files containing the word `default` will be ignored.\n\nOnly SVG files in **inputFolder/16dp/** , **inputFolder/24dp/** , **inputFolder/32dp/** , and **inputFolder/48dp/** will be rastered.\n\nIf **ic_launcher.svg** is in folder **inputFolder/48dp/** , image **outputFolder/ic_launcher_web.png** with 512x512 resolution is created in **outputFolder/** .\n\n## Example\n```\n# Create phone svg icon with inkscape, place in ./inputFolder/32dp/ic_phone.svg and launch script\n./AndroidRasterIcons.sh ./inputFolder ./outputFolder\n\n# ./inputFolder/32dp/ic_phone.svg -\u003e ./outputFolder/drawable-ldpi/ic_phone_32dp.png\n#                                 -\u003e ./outputFolder/drawable-mdpi/ic_phone_32dp.png\n#                                 -\u003e ./outputFolder/drawable-hdpi/ic_phone_32dp.png\n#                                 -\u003e ./outputFolder/drawable-xhdpi/ic_phone_32dp.png\n#                                 -\u003e ./outputFolder/drawable-xxhdpi/ic_phone_32dp.png\n#                                 -\u003e ./outputFolder/drawable-xxxhdpi/ic_phone_32dp.png\n```\n\nOutFile names have resolution as suffix and are automatically saved in **outputFolder/drawable-ldpi/** , **outputFolder/drawable-mdpi/** , **outputFolder/drawable-hdpi/** , **outputFolder/drawable-xhdpi/** , **outputFolder/drawable-xxhdpi/** , **outputFolder/drawable-xxxhdpi/** .\n\nEach resolution folder contains uninterpreted pattern **default.svg** for create icon with [Inkscape](https://inkscape.org/). Use guidelines for generate icons with margin.\n\n**IMPORTANT** : check raster image for **ldpi** and **hdpi** with software like [GIMP](http://www.gimp.com/) for manually remove blur.\n\n*Bash file tested on ubuntu*\n\n## License\n\nCopyright (c) 2016 JAMET Jeremy\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-jamet%2Fandroid-raster-icons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj-jamet%2Fandroid-raster-icons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-jamet%2Fandroid-raster-icons/lists"}