{"id":21726164,"url":"https://github.com/erictherobot/app-icon-generator","last_synced_at":"2025-10-07T11:31:50.693Z","repository":{"id":196886160,"uuid":"696334784","full_name":"erictherobot/app-icon-generator","owner":"erictherobot","description":"Simple Python script to generate iOS App Store Screenshots","archived":false,"fork":false,"pushed_at":"2023-09-27T16:27:01.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-26T03:22:20.481Z","etag":null,"topics":["app-store","apple","generator","ios","python","screenshot-generator"],"latest_commit_sha":null,"homepage":"https://ericdavidsmith.com/blog/software/ios-app-store-screenshot-icon-generator-python","language":"Python","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/erictherobot.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}},"created_at":"2023-09-25T14:44:18.000Z","updated_at":"2024-07-03T08:37:43.000Z","dependencies_parsed_at":"2023-09-28T03:13:38.485Z","dependency_job_id":null,"html_url":"https://github.com/erictherobot/app-icon-generator","commit_stats":null,"previous_names":["erictherobot/app-icon-generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictherobot%2Fapp-icon-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictherobot%2Fapp-icon-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictherobot%2Fapp-icon-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erictherobot%2Fapp-icon-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erictherobot","download_url":"https://codeload.github.com/erictherobot/app-icon-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235624264,"owners_count":19019996,"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":["app-store","apple","generator","ios","python","screenshot-generator"],"created_at":"2024-11-26T03:22:00.223Z","updated_at":"2025-10-07T11:31:45.421Z","avatar_url":"https://github.com/erictherobot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOS App Store Screenshot Icon Generator in Python\n\nIf you build native iOS, iPad mobile or desktop applications you know that you need to create screenshots for the App Store. This can be a tedious process, especially if you have a lot of screenshots to create. Here's an open source python script I made that has been working great for me. It's easy to use and can save you a lot of time.\n\nFollow the tutorial here: https://ericdavidsmith.com/blog/software/ios-app-store-screenshot-icon-generator-python\n\n## Prerequisites and Dependencies\n\nTo run this Python script, you need:\n\nClone this repo first\n\n```bash\ngit clone https://github.com/erictherobot/app-icon-generator.git\n```\n\n1. Python 3.x installed\n2. PIL (Pillow) for image manipulation\n3. A TrueType font (in this example, Baloo-Regular.ttf)\n\nInstall Pillow with pip:\n\n```bash\npip install pillow\n```\n\n## How It Works\n\nThe script takes an original image and layers it with marketing text to create device-specific screenshots. It performs several operations:\n\n1. **Rounding Corners**: `round_corners()` function rounds the corners of an image.\n2. **Text Addition**: Marketing titles and taglines are added to the canvas.\n3. **Image Placement**: The original image is resized and placed on the canvas.\n4. **Saving**: The final canvas is saved as a PNG file.\n\n## Customization\n\n1. **Canvas Color**: Change the `\"#1f1f1f\"` in `Image.new()` to your desired background color.\n2. **Font**: Replace \"Baloo-Regular.ttf\" with another TrueType font.\n3. **Device Dimensions**: Edit `device_dimensions` dictionary to add/remove devices.\n4. **Text Position**: Modify `title_y`, `subtitle1_y`, and `subtitle2_y` to adjust text positioning.\n\n## How to Use\n\n1. Save the script as `generate_screenshots.py`.\n2. Download or create a `.ttf` font file and place it in the same directory as the script.\n3. Place the original image in the same directory.\n\nRun the script:\n\n```bash\npython generate_screenshots.py original.png \"My App\" \"Best App Ever\" \"Download Now\"\n```\n\n## Benefits\n\n1. **Automated**: Generate multiple screenshots with a single command.\n2. **Consistent**: Ensures uniformity across all device-specific screenshots.\n3. **Efficient**: Reduces manual effort and human error.\n\n## Results\n\nOnce the script is run, it will generate PNG files in the format `marketing_{device}_{timestamp}.png`.\n\n## License\n\nMIT\n\n## Author\n\nEric David Smith\n\nhttps://ericdavidsmith.com\n\nFollow the tutorial here: https://ericdavidsmith.com/blog/software/ios-app-store-screenshot-icon-generator-python\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferictherobot%2Fapp-icon-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferictherobot%2Fapp-icon-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferictherobot%2Fapp-icon-generator/lists"}