# Image Optimizer

Tool to optimise images and vector graphics

> This is the Markdown version of the Image Optimizer page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/image-optimizer>

- **Latest version**: `2.1.0`
- **Homepage**: <https://github.com/antonreshetov/image-optimizer>
- **Install**: `brew install --cask image-optimizer`
- **30-day installs**: 26
- **Homebrew**: Available; the app updates itself
- **Download URL**: <https://github.com/antonreshetov/image-optimizer/releases/download/v2.1.0/image-optimizer-2.1.0-mac-arm64.dmg>
- **SHA-256**: `5361c62551d5db4cb93c5f012e50b268a5367b8148d54b54987dba43f5149645`
- **Commands**: imgopt

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "app": [
        "Image Optimizer.app"
      ],
      "target": "/Applications/Image Optimizer.app"
    },
    "phase": "install",
    "sources": [
      "Image Optimizer.app"
    ],
    "target": "/Applications/Image Optimizer.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/Image Optimizer.app/Contents/Resources/bin/imgopt"
      ],
      "target": "$HOMEBREW_PREFIX/bin/imgopt"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/Image Optimizer.app/Contents/Resources/bin/imgopt"
    ],
    "target": "$HOMEBREW_PREFIX/bin/imgopt",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/image-optimizer",
            "~/Library/Preferences/com.antonreshetov.image-optimizer.plist",
            "~/Library/Saved Application State/com.antonreshetov.image-optimizer.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## System requirements

- macOS 12 or later · Version: 2.1.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/i/image-optimizer.rb> · Checked 2026-11-08
  - <https://github.com/antonreshetov/image-optimizer/releases/download/v2.1.0/image-optimizer-2.1.0-mac-x64.dmg>
  - SHA-256: `d2c33d9dea64ec0b46a8083912ece789ef55e1fad88efd2d480f2d7194a14383`
- macOS 12 or later · Version: 2.1.0 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/i/image-optimizer.rb> · Checked 2026-11-08
  - <https://github.com/antonreshetov/image-optimizer/releases/download/v2.1.0/image-optimizer-2.1.0-mac-arm64.dmg>
  - SHA-256: `5361c62551d5db4cb93c5f012e50b268a5367b8148d54b54987dba43f5149645`

## Image Optimizer security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/antonreshetov/image-optimizer> · Open source: Yes — <https://github.com/antonreshetov/image-optimizer> · Checked 2026-11-07

## Uninstall

- `brew uninstall --cask image-optimizer`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask image-optimizer`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Application Support/image-optimizer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/i/image-optimizer.rb> · These entries come from the Homebrew definition, checked 2026-11-08. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/com.antonreshetov.image-optimizer.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/i/image-optimizer.rb> · These entries come from the Homebrew definition, checked 2026-11-08. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/com.antonreshetov.image-optimizer.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/i/image-optimizer.rb> · These entries come from the Homebrew definition, checked 2026-11-08. They say what it declares, not what is on your Mac.

## Latest release notes

### 2.1.0 (2026-10-15)

### Image Optimizer 2.1 — Now in Your Terminal

Image Optimizer now ships with `imgopt`, a command line tool that uses the same bundled optimizers as the app. Script your image pipeline, optimize a folder before a commit, or just stay in the terminal. No Node.js or extra installs needed.

#### Get the Command

- **macOS:** choose **Image Optimizer → Install Command Line Tool…** to add `imgopt` to `/usr/local/bin`. Move the app to Applications first.
- **Windows:** the installer adds `imgopt` to your user `PATH`. Open a new terminal after installing.

The app doesn't need to be running for the command to work.

#### A Guided Mode for When You Don't Remember the Flags

Run `imgopt` on its own. It asks what to optimize, where the results should go, whether to convert to WebP, which quality to use, and whether to keep metadata. Before it starts, it prints the equivalent command so you can skip the questions next time.

```sh
imgopt                          # guided mode
imgopt ./images                 # writes to ./images/minified
imgopt photo.jpg --webp -s      # writes minified/photo.min.webp
imgopt ./assets --in-place -y   # replace originals without asking
imgopt ./images --json          # machine-readable report
```

#### Safe by Default

- Replacing original files asks for confirmation in the terminal and requires `--yes` in scripts and CI.
- Clear exit codes: `1` when any file fails, `2` on invalid arguments, `130` when you decline or cancel.
- A progress bar in the terminal, and plain output when piped.

#### Also in This Release

- Default PNG quality is now 85 for new installs. Existing settings are kept.

Run `imgopt --help` for all options.

#### What's Changed

- feat(cli): add imgopt command line tool by @antonreshetov in https://github.com/antonreshetov/image-optimizer/pull/40

**Full Changelog**: https://github.com/antonreshetov/image-optimizer/compare/v2.0.2...v2.1.0

## Facts and sources

- <https://opennavo.com/apps/image-optimizer>
- <https://opennavo.com/apps/image-optimizer/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/i/image-optimizer.rb> · Checked 2026-11-08
- <https://formulae.brew.sh/cask/image-optimizer>
- <https://github.com/antonreshetov/image-optimizer> · Checked 2026-11-07
