{"id":13738677,"url":"https://github.com/magiclen/image-resizer","last_synced_at":"2025-04-10T20:15:03.124Z","repository":{"id":62440761,"uuid":"243781601","full_name":"magiclen/image-resizer","owner":"magiclen","description":"Resize or just shrink images and sharpen them appropriately.","archived":false,"fork":false,"pushed_at":"2024-08-11T12:42:33.000Z","size":34,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T17:55:18.027Z","etag":null,"topics":["cli","image","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/magiclen.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-28T14:31:10.000Z","updated_at":"2024-08-11T12:42:34.000Z","dependencies_parsed_at":"2024-04-20T04:33:38.203Z","dependency_job_id":"14222216-2c25-4039-b70d-be4b35ac5bed","html_url":"https://github.com/magiclen/image-resizer","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"bda87d1d709d85e034f5f391fa351ce1d0dd2279"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fimage-resizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fimage-resizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fimage-resizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fimage-resizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magiclen","download_url":"https://codeload.github.com/magiclen/image-resizer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792920,"owners_count":20996896,"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","rust"],"created_at":"2024-08-03T03:02:32.573Z","updated_at":"2025-04-10T20:15:03.088Z","avatar_url":"https://github.com/magiclen.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"Image Resizer\n====================\n\n[![CI](https://github.com/magiclen/image-resizer/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/image-resizer/actions/workflows/ci.yml)\n\nResize or just shrink images and sharpen them appropriately.\n\n## Help\n\n```\nEXAMPLES:\nimage-resizer /path/to/image -m 1920                           # Make /path/to/image resized\nimage-resizer /path/to/folder -m 1920                          # Make images inside /path/to/folder and make resized\nimage-resizer /path/to/image -o /path/to/image2 -m 1920        # Make /path/to/image resized, and save it to /path/to/image2\nimage-resizer /path/to/folder -o /path/to/folder2 -m 1920      # Make images inside /path/to/folder resized, and save them to /path/to/folder2\nimage-resizer /path/to/folder -o /path/to/folder2 -f -m 1920   # Make images inside /path/to/folder resized, and save them to /path/to/folder2 without overwriting checks\nimage-resizer /path/to/folder --allow-gif -r -m 1920           # Make images inside /path/to/folder including GIF resized and also remain their profiles\nimage-resizer /path/to/image -m 1920 --shrink                  # Make /path/to/image shrunk if it needs to be\nimage-resizer /path/to/image -m 1920 -q 75                     # Make /path/to/image resized with a quality of 75 if it uses lossy compression\nimage-resizer /path/to/image -m 1920 --4:2:0                   # Make /path/to/image resized and output using 4:2:0 (chroma quartered) subsampling to reduce the file size\nimage-resizer /path/to/image -m 1920 --no-sharpen              # Make /path/to/image resized without auto sharpening\nimage-resizer /path/to/image -m 1920 --ppi 150                 # Make /path/to/image resized, and set their PPI to 150\n\nUsage: image-resizer [OPTIONS] --side-maximum \u003cSIDE_MAXIMUM\u003e \u003cINPUT_PATH\u003e\n\nArguments:\n  \u003cINPUT_PATH\u003e  Assign an image or a directory for image resizing. It should be a path of a file or a directory\n\nOptions:\n  -o, --output-path \u003cOUTPUT_PATH\u003e    Assign a destination of your generated files. It should be a path of a directory or a file depending on your input path [aliases: output]\n  -s, --single-thread                Use only one thread\n  -f, --force                        Force to overwrite files\n      --allow-gif                    Allow to do GIF interlacing\n  -r, --remain-profile               Remain the profiles of all images\n  -m, --side-maximum \u003cSIDE_MAXIMUM\u003e  Set the maximum pixels of each side of an image (Aspect ratio will be preserved) [aliases: max]\n      --only-shrink                  Only shrink images, not enlarge them [aliases: shrink]\n      --no-sharpen                   Disable automatically sharpening\n  -q, --quality \u003cQUALITY\u003e            Set the quality for lossy compression [default: 92]\n      --ppi \u003cPPI\u003e                    Set pixels per inch (ppi)\n      --chroma-quartered             Use 4:2:0 (chroma quartered) subsampling to reduce the file size if it is supported [aliases: 4:2:0]\n  -h, --help                         Print help\n  -V, --version                      Print version\n```\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fimage-resizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiclen%2Fimage-resizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fimage-resizer/lists"}