# ed pare

> ed pare drives Pare, Edith's image optimization extension. Pare reads PNG, JPEG, GIF and SVG images and writes smaller copies.

- Canonical URL: https://getedith.pro/docs/cli/pare
- Updated: 2026-12-02

`ed pare` drives Pare, Edith's image optimization extension. Pare reads PNG,
JPEG, GIF and SVG images and writes smaller copies. It never changes, moves or
deletes an original. The same engine runs the Pare page in Media and the Pare
Home card.

`status` and `settings` only read. `optimize` writes copies, `set` changes the
saved settings, and `cancel` and `clear` change the current batch. All of them
need the Pare extension on and Edith running. `ed pare` with nothing after it is
`ed pare status`.

## At a glance

| Command | What it does |
| --- | --- |
| [`ed pare optimize <path>...`](https://getedith.pro/docs/cli/pare/optimize) | Optimizes images and folders into copies and waits for the result. |
| [`ed pare status`](https://getedith.pro/docs/cli/pare/status) | Shows the current or last batch. |
| [`ed pare cancel`](https://getedith.pro/docs/cli/pare/cancel) | Stops the running batch. |
| [`ed pare clear`](https://getedith.pro/docs/cli/pare/clear) | Clears the finished batch from the list. |
| [`ed pare settings`](https://getedith.pro/docs/cli/pare/settings) | Shows the saved settings. |
| [`ed pare set`](https://getedith.pro/docs/cli/pare/set) | Changes the saved settings. |

## What lossless means here

- **PNG.** Pare decodes every pixel, writes the smallest exact color type and
  bit depth, and decodes the result again to compare every sample before it
  keeps it. Interlacing is removed. Animated PNGs only lose metadata.
- **JPEG.** Pare rebuilds the Huffman tables of baseline JPEGs and checks that
  every coefficient decodes the same. Progressive JPEGs only lose metadata.
- **GIF.** Only comment and metadata blocks go. Frames, delays and the loop
  count are kept byte for byte.
- **SVG.** Comments, editor data and insignificant whitespace go, and the
  result must parse. SVG results are never called lossless.

Removing metadata keeps the orientation in a minimal Exif block, and color
profiles stay unless you turn them off. A result is kept only when it is
smaller; otherwise the image reports no savings.

Lossy mode is off until you turn it on. Lossy JPEG re-encodes at the chosen
quality and is kept only when it saves at least 5 percent. Lossy PNG reduces
colors to a palette and is kept only when it meets the quality floor.

## Where to go next

- [`ed shelf`](https://getedith.pro/docs/cli/shelf), for the copies the Pare page adds to the Shelf
- [`ed extensions`](https://getedith.pro/docs/cli/extensions), to turn Pare on or off
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
