{"id":18779282,"url":"https://github.com/webcaetano/img-resize-cli","last_synced_at":"2026-05-01T06:33:45.675Z","repository":{"id":57272530,"uuid":"89705630","full_name":"webcaetano/img-resize-cli","owner":"webcaetano","description":"Image resize cli using jimp","archived":false,"fork":false,"pushed_at":"2017-05-20T13:00:55.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-01T09:51:36.444Z","etag":null,"topics":["cli","image","image-cli","image-processing","jimp","node","resize"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/webcaetano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-28T12:51:06.000Z","updated_at":"2020-11-06T22:56:47.000Z","dependencies_parsed_at":"2022-09-02T13:01:52.124Z","dependency_job_id":null,"html_url":"https://github.com/webcaetano/img-resize-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webcaetano/img-resize-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fimg-resize-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fimg-resize-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fimg-resize-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fimg-resize-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webcaetano","download_url":"https://codeload.github.com/webcaetano/img-resize-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webcaetano%2Fimg-resize-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["cli","image","image-cli","image-processing","jimp","node","resize"],"created_at":"2024-11-07T20:19:28.433Z","updated_at":"2026-05-01T06:33:45.654Z","avatar_url":"https://github.com/webcaetano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# img-resize-cli\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n\u003c!-- [![Test coverage][coveralls-image]][coveralls-url] --\u003e\n\n\u003e Image resize cli using jimp\n\n## Installation\n\n```\nnpm install img-resize-cli --save\n```\n\n## CLI\n\n```\nnpm install img-resize-cli -g\n```\n\n```\nUsage\n\t$ rsize \u003cglob\u003e\n\nOptions\n\t--porcent image porcentage resize\n\t--width new image width, (numbers or auto)\n\t--height new image height, (numbers or auto)\n\t--algo resize algorithm, default: bilinear\n\talgorithms: bilinear | neighbor | bicubic | hermite | bezier\n\nExamples\n\trsize \"**/*.png\" \"destFolder/\" --porcent 50\n\trsize \"**/*.png\" \"destFolder/\" --width 100\n\trsize \"**/*.png\" \"destFolder/\" --width 100 --height 100\n\trsize \"**/*.png\" \"destFolder/\" --width 100 --height auto\n\trsize \"**/*.png\" \"destFolder/\" --porcent 25 --algo bicubic\n```\n\n## Options\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOption\u003c/strong\u003e\u003c/td\u003e\n\u003ctd width=\"300\"\u003e\u003cstrong\u003eDescription\u003c/strong\u003e\u003c/td\u003e\n\u003ctd\u003e\u003cstrong\u003eDefault\u003c/strong\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eporcent\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eImage porcentage resize\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003e75\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ewidth\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003enew image width, (numbers or auto)\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003enull\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eheight\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003enew image height, (numbers or auto)\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003enull\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ealgo\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eresize algorithm\u003cbr\u003e\nalgorithms: bilinear | neighbor | bicubic | hermite | bezier\u003c/td\u003e\n\u003ctd\u003e\u003ccode\u003ebilinear\u003c/code\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Node Usage\n\n```\nrsize(src,dest,options)\n```\n\n## Example \n\n```javascript\nvar rsize = require('img-resize-cli');\n\n// width porcent\nrsize(src,dest,{\n\tporcent:'50%'\n},function(err,data){\n\n});\n\n// width dimensions\nrsize(src,dest,{\n\twidth:100,\n\theight:100, \n},function(err,data){\n\n});\n\n// full options \nrsize(src,dest,{\n\twidth:'50%',\n\theight:'auto', \n\talog:'bicubic', \n},function(err,data){\n\n});\n```\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/img-resize-cli.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/img-resize-cli\n[travis-image]: https://img.shields.io/travis/webcaetano/img-resize-cli.svg?style=flat-square\n[travis-url]: https://travis-ci.org/webcaetano/img-resize-cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcaetano%2Fimg-resize-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebcaetano%2Fimg-resize-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebcaetano%2Fimg-resize-cli/lists"}