# Install dssim with Homebrew, apk, winget, zypper

RGBA Structural Similarity Rust implementation. Version 3.4.0 via Homebrew; verified 2026-06-15.

## Install

```sh
sudo av install brew:dssim
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install dssim
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add dssim
```

  Evidence: Alpine Linux edge package indexes: dssim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install dssim
```

  Evidence: openSUSE Tumbleweed package metadata: dssim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Kornelski.DSSIM -e
```

  Evidence: Windows Package Manager source index: Kornelski.DSSIM from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:dssim
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/dssim>
- **Version:** 3.4.0
- **Source summary:** RGBA Structural Similarity Rust implementation
- **Homepage:** <https://kornel.ski/dssim>
- **Repository:** <https://github.com/kornelski/dssim>
- **Upstream docs:** <https://github.com/kornelski/dssim#readme>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://github.com/kornelski/dssim/archive/refs/tags/3.4.0.tar.gz>
- **Last updated:** 2026-06-15T10:20:15-04:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- dssim (cli)
- dssim (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.4.0
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/kornelski/dssim
- Upstream latest detected: 3.4.0 (current)
## Project history and usage

dssim is Kornel Lesinski's image dissimilarity tool and library based on a variant of SSIM, returning a perceptual difference score for PNG and JPEG images.

### Project history

The README frames dssim as an improved SSIM-derived metric for practical image-compression comparison: multi-scale comparison, linear-light RGB scaling, Lab color space, alpha support, color profiles, multicore execution, and C/Rust/WASM library use.

The release history shows an early 1.x Rust API era in 2015 and 2016, followed by a major Rust rewrite in 2.8.0 on 2017-11-10. That rewrite emphasized safer code, full-resolution chroma comparison, linear-light premultiplied-alpha scaling, and acknowledged PNG-only/color-profile limitations at the time. Later 3.x releases improved packaging, WASM compatibility, and performance.

### Adoption history

dssim is used by image codec and optimization developers who need a perceptual comparison metric rather than byte equality or plain RGB error. The README explicitly discusses comparing codecs either at equal file size or equal DSSIM score.

The tool is packaged by Homebrew, Alpine, openSUSE/zypper, and Windows winget; its README also mentions Homebrew and Ubuntu Snap availability. Homebrew analytics showed 187 installs over the preceding 365 days during this batch.

### How it is used

Typical usage is `dssim original.png modified.png`, optionally comparing many modified images against one original or writing a visual difference image with `-o`. The README warns users to quote the dssim version because the score scale has changed between versions.

### Why package nerds care

dssim is package-nerd significant because it packages an image-quality metric as both a CLI and reusable native/WASM library. It sits in the practical space between academic SSIM papers and real package-manager workflows for codec benchmarking, regression tests, and image optimization.

### Timeline

- 2015-12-05: 1.2.0 introduced Rust API compatibility and improved sRGB gamma precision.
- 2016-05-09: 1.3.x releases were published with precision, stdin, gamma, and PNG-handling fixes.
- 2017-11-10: 2.8.0 was published as a major Rust rewrite.
- 2022-09-18: 3.2.3 was published with WASM compatibility and performance improvements.
- 2025-03-05: 3.4.0 was published with another performance improvement and is the Homebrew stable version recorded for this batch.

### Related projects

- SSIM is the underlying perceptual-similarity algorithm family linked from the README.
- TID2013 is the image-quality dataset used in the README's accuracy table.
- docs.rs hosts the Rust library documentation linked from the README.
- Image codec and compression benchmarking tools are natural neighbors because the README focuses on fair image-compression comparison.

### Sources

- <https://github.com/kornelski/dssim#readme>
- <https://github.com/kornelski/dssim/releases/tag/1.2.0>
- <https://github.com/kornelski/dssim/releases/tag/1.3.2>
- <https://github.com/kornelski/dssim/releases/tag/2.8.0>
- <https://github.com/kornelski/dssim/releases/tag/3.2.3>
- <https://github.com/kornelski/dssim/releases/tag/3.4.0>
- <https://formulae.brew.sh/formula/dssim>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dssim
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- apk - dssim - 3.4.0-r0: normalized package name match | Alpine Linux edge package indexes: dssim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tool for image similarity comparison, simulating human perception | https://kornel.ski/dssim
- zypper - dssim - 3.2.3-2.8: normalized package name match | openSUSE Tumbleweed package metadata: dssim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | This tool computes (dis)similarity between two (or more) PNG images | https://kornel.ski/dssim
- winget - Kornelski.DSSIM: normalized package name match | Windows Package Manager source index: Kornelski.DSSIM from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [lutgen](https://www.automicvault.com/pkg/brew/lutgen/) - Shares av.db curated category or tags: cli, image-processing, media, rust.
- [perceptualdiff](https://www.automicvault.com/pkg/brew/perceptualdiff/) - Shares av.db curated category or tags: cli, image-comparison, image-processing, media.
- [babl](https://www.automicvault.com/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [camellia](https://www.automicvault.com/pkg/brew/camellia/) - Shares av.db curated category or tags: cli, image-processing, media.
- [chafa](https://www.automicvault.com/pkg/brew/chafa/) - Shares av.db curated category or tags: cli, image-processing, media.
- [epsilon](https://www.automicvault.com/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, image-processing, media.
- [exact-image](https://www.automicvault.com/pkg/brew/exact-image/) - Shares av.db curated category or tags: cli, image-processing, media.

## Combined YAML source

View the package source record on GitHub. [combined/dssim.yml](https://github.com/automic-vault/db/blob/main/combined/dssim.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
