{"id":27154769,"url":"https://github.com/josuejuca/rip-img","last_synced_at":"2025-10-04T11:17:28.431Z","repository":{"id":264622945,"uuid":"893884913","full_name":"josuejuca/rip-img","owner":"josuejuca","description":"Um script simples e eficiente para redimensionar e comprimir imagens mantendo a melhor qualidade possível, com limite de tamanho de arquivo configurável (padrão: 2 MB).","archived":false,"fork":false,"pushed_at":"2024-11-25T11:32:50.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T00:44:51.947Z","etag":null,"topics":["image-compression","image-processing-python","img","pillow","python"],"latest_commit_sha":null,"homepage":"","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/josuejuca.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":"2024-11-25T11:31:23.000Z","updated_at":"2024-11-25T11:36:00.000Z","dependencies_parsed_at":"2024-11-25T12:39:22.468Z","dependency_job_id":null,"html_url":"https://github.com/josuejuca/rip-img","commit_stats":null,"previous_names":["josuejuca/rip-img"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/josuejuca/rip-img","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josuejuca%2Frip-img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josuejuca%2Frip-img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josuejuca%2Frip-img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josuejuca%2Frip-img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josuejuca","download_url":"https://codeload.github.com/josuejuca/rip-img/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josuejuca%2Frip-img/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278302605,"owners_count":25964535,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["image-compression","image-processing-python","img","pillow","python"],"created_at":"2025-04-08T18:43:23.538Z","updated_at":"2025-10-04T11:17:28.408Z","avatar_url":"https://github.com/josuejuca.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### O que o script faz:\n1. **Criação da pasta `rip`:** A pasta será criada no mesmo diretório onde o script é executado.\n2. **Redimensionamento inteligente:**\n   - Salva as imagens em um formato compactado (`JPEG` ou mantém `PNG` se for o formato original).\n   - Ajusta a qualidade gradualmente até atingir o tamanho máximo de 2 MB.\n3. **Preserva a maior qualidade possível:** A qualidade começa em 95 e reduz gradualmente, mantendo o equilíbrio entre qualidade e compressão.\n\n---\n\n### Como usar:\n1. Coloque o script no mesmo diretório onde estão as imagens.\n2. Execute o script:\n   ```bash\n   python reduzir_imagens.py\n   ```\n3. As imagens compactadas serão salvas na pasta `rip`.\n\n---\n\n### Observação:\n- Certifique-se de ter a biblioteca Pillow instalada:\n  ```bash\n  pip install pillow\n  ```\n- Se precisar ajustar o tamanho máximo ou o formato, basta alterar os parâmetros no script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosuejuca%2Frip-img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosuejuca%2Frip-img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosuejuca%2Frip-img/lists"}