Command reference
ed pare
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>... |
Optimizes images and folders into copies and waits for the result. |
ed pare status |
Shows the current or last batch. |
ed pare cancel |
Stops the running batch. |
ed pare clear |
Clears the finished batch from the list. |
ed pare settings |
Shows the saved settings. |
ed 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, for the copies the Pare page adds to the Shelfed extensions, to turn Pare on or off- All
edcommands