{"id":15374106,"url":"https://github.com/mrmike/android-resmaker","last_synced_at":"2025-04-06T04:17:13.890Z","repository":{"id":13831713,"uuid":"16528484","full_name":"mrmike/android-resmaker","owner":"mrmike","description":"Simple Ruby tool to creates scaled Android resources.","archived":false,"fork":false,"pushed_at":"2014-02-04T22:52:38.000Z","size":488,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T10:18:30.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/mrmike.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}},"created_at":"2014-02-04T22:51:14.000Z","updated_at":"2014-07-29T16:48:45.000Z","dependencies_parsed_at":"2022-08-28T10:41:46.707Z","dependency_job_id":null,"html_url":"https://github.com/mrmike/android-resmaker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmike%2Fandroid-resmaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmike%2Fandroid-resmaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmike%2Fandroid-resmaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmike%2Fandroid-resmaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmike","download_url":"https://codeload.github.com/mrmike/android-resmaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430967,"owners_count":20937875,"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-01T13:57:16.869Z","updated_at":"2025-04-06T04:17:13.873Z","avatar_url":"https://github.com/mrmike.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Resmaker\n--------\n**Resmaker** is a very simple tool written in Ruby which helps to create scaled images for Android resources.\n\nInstallation\n----------\nResmaker is based on great library **ImageMagick**. Installation of ImageMagick may differ on various OS.\n\nOS X\n```\n sudo port install ImageMagick #MacPorts\n # or\n sudo brew install ImageMagick #Homebrew\n```\n\nUbuntu \n```\n apt-get install imagemagick\n```\n\n\u003e For different OS check: http://www.imagemagick.org/script/binary-releases.php\n\nAlso rmagick gem is required. To instal rmagick simply run\n```\nsudo gem install rmagick\n# or \nbundle install \n```\n\nUsage\n--------\nBefore first usage set \n```\nchmod +x resmaker.rb\n```\n\nTo scale image to Android resources run\n```\nresmaker.rb example.jpg # starts from xhdpi and scale down\n# or \nresmaker.rb example.jpg --xxhdpi # starts from xxhdpi\n```\n\nAs a result res folder will be created with appropriate images\n```\n/res\n    /drawable-hdpi/example.jpg\n    /drawable-mdpi/example.jpg\n    /drawable-xhdpi/example.jpg\n    /drawable-xxhdpi/example.jpg\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmike%2Fandroid-resmaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmike%2Fandroid-resmaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmike%2Fandroid-resmaker/lists"}