{"id":20094208,"url":"https://github.com/printerscanner/collage-generator","last_synced_at":"2026-06-08T08:05:20.872Z","repository":{"id":94073095,"uuid":"498408362","full_name":"printerscanner/collage-generator","owner":"printerscanner","description":"🖼 This python program auto generates collages. ","archived":false,"fork":false,"pushed_at":"2023-11-02T11:06:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T16:16:59.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://printerscanner.net/collage","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/printerscanner.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":"2022-05-31T16:11:28.000Z","updated_at":"2022-06-02T08:39:08.000Z","dependencies_parsed_at":"2023-04-10T18:19:35.100Z","dependency_job_id":null,"html_url":"https://github.com/printerscanner/collage-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/printerscanner/collage-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printerscanner%2Fcollage-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printerscanner%2Fcollage-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printerscanner%2Fcollage-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printerscanner%2Fcollage-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/printerscanner","download_url":"https://codeload.github.com/printerscanner/collage-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printerscanner%2Fcollage-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34053491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-13T16:49:45.132Z","updated_at":"2026-06-08T08:05:20.837Z","avatar_url":"https://github.com/printerscanner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collage Generator\n\nThis is a Python script that generates collages by combining random images from a directory onto an image-sized canvas with a random background color. It uses the Python Imaging Library (PIL) to manipulate images and create the final poster.\n\n\n## Prerequisites\n\nBefore using this script, you need to make sure you have the following:\n\nPython installed on your system (Python 3 is recommended).\n\nThe `PIL` (Pillow) library installed. You can install it using `pip`:\n\n    pip install pillow\n\n## How to Use\n\n1. Make a folder called `images` in the root directory and go out into the world and find materials for your collage. Place your images as PNGs in a the folder.\n\n2. Customize the image canvas size by changing the `image_width` and `image_height` variables in the script. The default values are set to 2000x2000 pixels.\n\n3. Run the script in your terminal or Python environment.\n    python app.py\n\n4. The script will randomly select 6 images from the \"images\" directory and place them on the image-sized canvas, adjusting their sizes and positions.\n\n5. The final poster will be saved as a PNG file with a random name in the same directory as the script.\n\nPlease ensure that you have a sufficient number of PNG images in the \"images\" directory to ensure variety in the generated poster. You can also modify the number of images to be selected or the canvas size according to your preferences.\n\nEnjoy creating your unique posters with this script!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinterscanner%2Fcollage-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprinterscanner%2Fcollage-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprinterscanner%2Fcollage-generator/lists"}