IT IS ALL B3
where he writes his head up.
B3 Uses ImageOptim Cli for Batch Images Optimisation 19 Jan 2018
This is another story about B3, The Owner of this blog, uses ImageOptim for batch images optimisation.
Instead of optimise his ImageMagick solution to support batch images optimization. The Owner decided to dig the interweb again and easily found a solution. Five years ago someone did post this article to Smashing Magazine. B3 gave it a try and then made it.
His workflow was simple:
Install ImageOptim: ImageOptim
Install ImageAlpha: ImageAlpha
Don’t Install JPEGmini: Can’t afford
The Real Step 3
Install ImageOptim CLI:
npm install -g imageoptim-cli
imageoptim -a -q -d path-to-images-folder
- The workflow overrides optimised images to the same folder so need to backup the original images to another location.
- More information: https://github.com/JamieMason/ImageOptim-CLI
That’s it. Story ends.