ImageOptim
Lossless image compression
open sourceDesign
ImageOptim is the pre-commit image optimizer: compresses PNG, JPEG, and SVG with no visible quality loss, strips EXIF and other junk. Essential for the web: site images go through it before deploy. Free and open source.
// Install
Your MacHomebrew in /opt/homebrew
brew install --cask imageoptim// What it is for
- Compresses PNG and JPEG losslessly — the file shrinks, the image looks identical
- Strips EXIF, so geotags and camera models do not travel with images to your site
- Drop a folder in and it batches hundreds of files, replacing them in place
- Free, open source, and entirely local
// Common questions
Is the compression really lossless?
By default yes: only format redundancy and metadata are removed. A lossy mode is available separately and cuts size several times over — often a fair trade for web graphics.
Can I use it in a build pipeline?
For one-off asset passes it is ideal. For CI, wire the same libraries in through npm packages: ImageOptim is a GUI app, not a pipeline component.
