{"id":16022293,"url":"https://github.com/jmcollin/optimizeimage","last_synced_at":"2025-06-16T08:10:49.222Z","repository":{"id":35377380,"uuid":"39640613","full_name":"jmcollin/optimizeImage","owner":"jmcollin","description":"Shell - Allow you to optimize and compress your images","archived":false,"fork":false,"pushed_at":"2015-10-07T08:50:56.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T04:16:43.246Z","etag":null,"topics":["cli","gifsicle","imagemagick","mozjpeg","optimize-images","pngcrush","pngquant","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jmcollin.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}},"created_at":"2015-07-24T15:04:18.000Z","updated_at":"2020-01-14T15:50:33.000Z","dependencies_parsed_at":"2022-09-17T04:11:23.995Z","dependency_job_id":null,"html_url":"https://github.com/jmcollin/optimizeImage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmcollin/optimizeImage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcollin%2FoptimizeImage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcollin%2FoptimizeImage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcollin%2FoptimizeImage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcollin%2FoptimizeImage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmcollin","download_url":"https://codeload.github.com/jmcollin/optimizeImage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmcollin%2FoptimizeImage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260124097,"owners_count":22962207,"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","gifsicle","imagemagick","mozjpeg","optimize-images","pngcrush","pngquant","shell"],"created_at":"2024-10-08T18:22:34.571Z","updated_at":"2025-06-16T08:10:49.200Z","avatar_url":"https://github.com/jmcollin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Optimize Images\n=========\n\nAllow you to optimize and compress your images in batches\n\n\n## Dependencies\n\n* [**mozjpeg \u003e= 3.1**](https://github.com/mozilla/mozjpeg) [:link: Help](https://goo.gl/yvHJBx)\n* [**gifsicle**](https://github.com/kohler/gifsicle) [:link: Help](https://goo.gl/if9HMH)\n* [**pngcrush \u003e= 1.7.85**](http://pmt.sourceforge.net/pngcrush/) [:link: Help](https://goo.gl/8HzFZu)\n* [**pngquant \u003e= 2.3.1**](https://github.com/pornel/pngquant) [:link: Help](https://goo.gl/fxnFOl)\n* [**ImageMagick \u003e= 6.7.7-10**](https://github.com/ImageMagick/ImageMagick)\n* **libpng \u003e= 1.6.17**\n\n\n## Getting Started\n\nTo use this script, choose one of the following options to get started:\n\n* Download the latest release of Optimize Images\n* Fork this repository on GitHub\n\n\n## Installation\n\n\n**Locally**\n\nInstalling Optimize Images locally is a matter of just running the script in your project directory:\n\n```\nNatsuflame@debian:home # git clone https://github.com/jmcollin/optimizeImage.git\n```\n\n**Globally**\n\n```\nNatsuflame@debian:home # cd optimizeImage/\nNatsuflame@debian:optimizeImage # cp optimizeImage.sh /usr/bin/optimizeImage\n```\n\nInstruction for **mozjpeg**\n\n```\nNatsuflame@debian:home # cd mozjpeg/build/\nNatsuflame@debian:build # cp cjpeg /usr/bin/mozcjpeg\nNatsuflame@debian:build # cp djpeg /usr/bin/mozdjpeg\nNatsuflame@debian:build # cp jpegtran /usr/bin/mozjpegtran\n```\n\n## Usage\n\n```\nUsage: optimizeImage [OPTION]... SRC... DEST\n  or   optimizeImage [OPTION]... SRC... [DEST]\n\nOptions\n -q 90, --quality 90         set quality (default ~ 90)\n -t jpg, png, gif            set image type (default ~ jpg)\n\n -d                          print dependencies\n --version                   print version number\n(-h|-?) --help               show this help (-h is --help only if used alone)\n```\n\n## Example Usage\n```\nNatsuflame@debian:optimizeImage # optimizeImage -t png src/ /home/optimizeImage/test/\nClean directory\nOptipmize image(s)\n[✔] ./PrestaShopAddons.png\n\n[✘] Original Size: 72.78 KB\n[✔] Savings Size: 58.99 KB\n[✔] % Savings: 19.44%\n\n```\n\nOriginal image (72.8 KB):\n\n![alt text](https://github.com/jmcollin/optimizeImage/blob/master/src/PrestaShopAddons.png \"Original\")\n\n\nOptimize image (59 KB):\n\n![alt text](https://github.com/jmcollin/optimizeImage/blob/master/test/PrestaShopAddons.png \"Optimize\")\n\n## Version\n1.0.0\n\n## Copyright and License\n\nCopyright 2014 Jean-Marie Collin. Code released under the [MIT License](https://github.com/jmcollin/autoindex/blob/master/LICENSE) license.\n\nTheme used Copyright 2014 Iron Summit Media Strategies, LLC. Code released under the [Apache 2.0](https://github.com/IronSummitMedia/startbootstrap-freelancer/blob/gh-pages/LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmcollin%2Foptimizeimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmcollin%2Foptimizeimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmcollin%2Foptimizeimage/lists"}