{"id":17659880,"url":"https://github.com/felipemsantana/imgresize","last_synced_at":"2025-05-07T15:04:42.283Z","repository":{"id":57511378,"uuid":"56108117","full_name":"felipemsantana/imgresize","owner":"felipemsantana","description":"Simple command line tool to resize images","archived":false,"fork":false,"pushed_at":"2018-06-02T22:27:20.000Z","size":481,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T15:04:24.185Z","etag":null,"topics":["cli","image-manipulation","imgresize","resize-images"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/felipemsantana.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-04-13T00:33:54.000Z","updated_at":"2024-12-22T21:00:03.000Z","dependencies_parsed_at":"2022-08-29T05:20:32.695Z","dependency_job_id":null,"html_url":"https://github.com/felipemsantana/imgresize","commit_stats":null,"previous_names":["fmatoss/imgresize"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipemsantana%2Fimgresize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipemsantana%2Fimgresize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipemsantana%2Fimgresize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipemsantana%2Fimgresize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipemsantana","download_url":"https://codeload.github.com/felipemsantana/imgresize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902615,"owners_count":21822261,"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-manipulation","imgresize","resize-images"],"created_at":"2024-10-23T16:08:35.946Z","updated_at":"2025-05-07T15:04:42.259Z","avatar_url":"https://github.com/felipemsantana.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Release](https://img.shields.io/github/release/felipemsantana/imgresize.svg?maxAge=2592000)](https://github.com/felipemsantana/imgresize/releases/latest)\n[![Build Status](https://travis-ci.org/felipemsantana/imgresize.svg?branch=master)](https://travis-ci.org/felipemsantana/imgresize)\n\n# imgresize\nSimple command line tool to resize images\n\n## Instalation\nDownload the latest binary file for your operating system and architecture [here](https://github.com/felipemsantana/imgresize/releases/latest).\n\nOr download and install from the source:\n```\n$ go get github.com/felipemsantana/imgresize\n```\n\n## Usage\n```\nNAME:\n   Image Resizer - Tool to resize images, it supports BMP, GIF, JPEG, PNG and TIFF\n\nUSAGE:\n   imgresize [global options] [arguments...]\n\nVERSION:\n   1.3.0\n\nAUTHOR(S):\n   Felipe Matos Santana \u003cfelipems@yahoo.com.br\u003e\n\nGLOBAL OPTIONS:\n   --height value, -h value\toutput image height, value 0 preserves original aspect ratio (default: 0)\n   --width value, -w value\toutput image width, value 0 preserves original aspect ratio (default: 0)\n   --interp value, -i value\tinterpolation function, from 0 (fastest) to 5 (slowest):\n\t\t\t\t0: Nearest-neighbor interpolation\n\t\t\t\t1: Bilinear interpolation\n\t\t\t\t2: Bicubic interpolation\n\t\t\t\t3: Mitchell-Netravali interpolation\n\t\t\t\t4: Lanczos resampling with a=2\n\t\t\t\t5: Lanczos resampling with a=3 (default: 5)\n   --background value, -b value\tbackground color, used only if stretch is false and aspect ratio from the output image is not the same as the input:\n\t\t\t\t0: transparent\n\t\t\t\t1: black\n\t\t\t\t2: white (default: 0)\n   --stretch, -s\t\tstretch image, default is false\n   --format value, -f value\toutput image format, default is same as input:\n\t\t\t\t- bmp\n\t\t\t\t- gif\n\t\t\t\t- jpg\n\t\t\t\t- png\n\t\t\t\t- tif\n   --version, -v\t\tprint the version\n\n```\n\n## Example\nThis will resize any supported image format to 1920x1080 without stretching and save it as JPG:\n```\n$ imgresize -w 1920 -h 1080 -f jpg myimage.jpg\n```\nThe resized image file will be saved as \"myimage_1920x1080.jpg\" in the same directory.\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipemsantana%2Fimgresize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipemsantana%2Fimgresize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipemsantana%2Fimgresize/lists"}