{"id":22323345,"url":"https://github.com/joaopalmeiro/itils","last_synced_at":"2025-03-26T05:22:14.429Z","repository":{"id":62571918,"uuid":"347076894","full_name":"joaopalmeiro/itils","owner":"joaopalmeiro","description":"A Python CLI for transforming images.","archived":false,"fork":false,"pushed_at":"2021-03-13T12:55:40.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T23:41:16.340Z","etag":null,"topics":["cli","image","image-processing","imagemagick","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/itils/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaopalmeiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-12T13:33:03.000Z","updated_at":"2023-02-17T23:01:23.000Z","dependencies_parsed_at":"2022-11-03T20:32:20.826Z","dependency_job_id":null,"html_url":"https://github.com/joaopalmeiro/itils","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fitils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fitils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fitils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaopalmeiro%2Fitils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaopalmeiro","download_url":"https://codeload.github.com/joaopalmeiro/itils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245592700,"owners_count":20640883,"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":["cli","image","image-processing","imagemagick","python"],"created_at":"2024-12-04T01:09:58.709Z","updated_at":"2025-03-26T05:22:14.404Z","avatar_url":"https://github.com/joaopalmeiro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# itils\n\n[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nA Python CLI for transforming images.\n\nPowered by [plac](https://github.com/ialbert/plac) (CLI), [Wand](https://github.com/emcconville/wand) (images), and [halo](https://github.com/ManrajGrover/halo) (spinners).\n\n## Usage\n\n### Interactive mode\n\n```text\nitils -i\n```\n\nRun `quit` to close `itils`.\n\n### `gslide` subcommand\n\n\u003c!-- poetry run itils gslide -h | pbcopy --\u003e\n\n```text\nusage: itils gslide [-h] [-r PCT] input_img\n\nResize an image to be smaller than 25 megapixels for Google Slides.\nThe image can be resized using an explicit percentage as well.\n\npositional arguments:\n  input_img             The path to the image to be transformed.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -r PCT, --resize PCT  The (explicit) percentage value (e.g., 70) to scale\n                        both width and height. Values less than 100 reduce the\n                        image size.\n```\n\n## Development\n\n1. `poetry install`\n2. `poetry shell`\n\n## Notes\n\n- `convert image.png -resize 70% smaller_image.png` ([documentation](http://www.imagemagick.org/script/convert.php)).\n- [\"Improve Windows Support\"](https://github.com/manrajgrover/halo/issues/5) (open) issue (halo).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Fitils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaopalmeiro%2Fitils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaopalmeiro%2Fitils/lists"}