{"id":19999196,"url":"https://github.com/mr-addict/image-shrink","last_synced_at":"2025-07-17T15:36:34.672Z","repository":{"id":107624014,"uuid":"532979260","full_name":"MR-Addict/image-shrink","owner":"MR-Addict","description":"Image Shrink Python Script","archived":false,"fork":false,"pushed_at":"2022-09-05T16:34:20.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T23:29:17.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MR-Addict.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":"2022-09-05T16:31:16.000Z","updated_at":"2022-09-05T16:31:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a749d900-0673-4d38-b94f-5d5056bc13f6","html_url":"https://github.com/MR-Addict/image-shrink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MR-Addict/image-shrink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fimage-shrink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fimage-shrink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fimage-shrink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fimage-shrink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MR-Addict","download_url":"https://codeload.github.com/MR-Addict/image-shrink/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MR-Addict%2Fimage-shrink/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265623254,"owners_count":23800130,"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-11-13T05:11:01.821Z","updated_at":"2025-07-17T15:36:34.650Z","avatar_url":"https://github.com/MR-Addict.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Shrink Python Script\n\n## 1. Preview\n\nFeatures:\n\n- Resize all images in specific folder\n- Custom image maximum width and maximum size\n\nAttention\n\n- Do not put upper case image type in `img_types` variable, such as `.PNG`, `.JPG`\n- After execute code, all your images will be `replaced` with resized images\n\n\n## 2. How to use\n\nClone this repository and change `main.py` user variable.\n\n```python\nmax_width = 1000                    # Image max width\nmax_size = 500                      # Image max\nsrc_path = './'                     # Image source folder you put\nimg_types = '.jpg', '.png', 'jpeg'  # Image types you got\n```\n\nThere no requirement packages you need to install if you're using python 3.8+\n\nAfter that execute python code\n\n```bash\npython main.py\n```\n\nHappy coding!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-addict%2Fimage-shrink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-addict%2Fimage-shrink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-addict%2Fimage-shrink/lists"}