kornelski

kornelski/dssim

Rust AGPL-3.0 Media Single maintainer risk

Image similarity comparison simulating human perception (multiscale SSIM in Rust)

1.2k stars
80 forks
active
GitHub +5 / week

1.2k

Stars

80

Forks

8

Open issues

14

Contributors

3.4.0 05 Mar 2025

AI Analysis

DSSIM is a specialized image similarity metric tool that measures perceptual differences between images using a multiscale SSIM algorithm implemented in Rust. It is purpose-built for image compression benchmarking and quality assessment where perceptual accuracy matters more than simple pixel-level comparison. This tool is primarily for image engineers, compression researchers, and quality assurance workflows in imaging pipelines—not for general-purpose image analysis.

Media Developer Tool Discovery value: 6/10
Documentation 8/10
Activity 9/10
Community 7/10
Code quality 7/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

image-similarity ssim-metric compression-benchmark perceptual-quality rust-native
Actively maintained Well documented Niche/specialized use case AGPL-3.0 licensed Production ready
Deep Analysis · Based on README and public signals
1w ago

Perceptual image comparison tool in Rust with multiscale SSIM; modest adoption in image processing workflows

dssim computes image similarity using a refined SSIM algorithm designed to approximate human vision. It operates at multiple scales in Lab color space, supports alpha channels and color profiles, and can be used as a CLI tool, C library, or Rust/WASM library. Primary users appear to be image compression researchers, quality assurance teams, and visual regression testers. Adoption is niche but appears sustained over 15 years; the tool is stable rather than rapidly growing.

Origin

Created in 2011 by Kornel Lesiński, dssim emerged as a response to limitations in standard SSIM implementations for perceptual image quality assessment. The project has evolved through algorithmic refinements (multiscale weighting, Lab color space adoption, linear-light RGB scaling) and has maintained dual licensing (AGPL/commercial) to support both open and proprietary use.

Growth

Star growth is slow and steady: 1 star in the last 7 days from a base of 1,181 suggests limited recent momentum, but the project has remained actively maintained for 15 years with consistent pushes (last push 2026-07-01). Growth appears driven by niche adoption in image compression benchmarking and visual regression testing rather than explosive visibility. Comparable tools (odiff at 3,056 stars, pixelmatch at 6,865 stars) have higher GitHub visibility, suggesting dssim occupies a smaller but specialized segment.

In production

Adoption not verified through public case studies or prominent deployments documented in README. However, indirect signals suggest real-world use: (1) availability in package managers (Homebrew, Ubuntu Snaps), (2) C and WASM library APIs indicating integration into larger systems, (3) commercial licensing tier suggesting paying customers, (4) documentation on 'benchmarking image compression' implying researcher/practitioner audience. No endorsements or known major users listed.

Code analysis
Architecture

Based on README, dssim implements a multiscale SSIM variant that operates in Lab color space with weighted spatial resolution handling. Likely uses a Rust core library (dssim-core) exposing C and WASM bindings. Appears to leverage multi-core CPUs for parallel processing. The architecture supports both binary and library modes, with documented APIs for Rust, C, and WASM consumers.

Tests

Not documented in README. README includes validation metrics (Spearman/Kendall correlations against TID2013 database for v3.2) but does not describe unit test coverage, integration test scope, or CI/CD pipelines.

Maintenance

Active maintenance: last push 2026-07-01 (2 days before analysis date). Repository shows consistent activity over 15 years with regular version releases. Rust version requirement (1.63+) appears current. No signals of abandonment; slow growth should not be confused with decay. Dual licensing model may indicate sustained commercial interest.

Honest verdict

ADOPT IF: you are benchmarking image compression quality and need perceptual accuracy aligned with human vision perception, require multiscale SSIM with Lab color space support, or need a C/Rust library for visual QA integration. AVOID IF: you need high-visibility community support, abundant third-party integrations, or prefer JavaScript/Python ecosystems for web-based visual regression (use pixelmatch instead). MONITOR IF: you are building image quality tools and considering SSIM as a component; dssim's academic validation (TID2013 correlations) and 15-year stability make it a credible foundation, but adoption signals remain modest.

Independent dimensions

Mainstream potential

3/10

Technical importance

7/10

Adoption evidence

4/10

Risks
  • AGPL licensing may deter proprietary software integration; commercial license option exists but adds friction and cost.
  • Adoption appears concentrated in specialized niche (compression researchers, QA teams); limited evidence of mainstream visual regression tool usage.
  • Slow growth trajectory (1 star/week) suggests limited ecosystem momentum; maintenance is steady but not expanding.
  • Validation metrics (TID2013) are from academic database, not production deployment benchmarks; real-world performance claims unverified.
  • C/WASM API surface not detailed in README; binding maintenance burden and API stability over time unclear.
Prediction

dssim will likely remain a stable, niche tool for image compression benchmarking and specialized visual quality assessment. Slow growth will continue as long as Rust ecosystem and perceptual imaging communities value it. Unlikely to challenge broader visual regression ecosystems (pixelmatch, odiff) but may deepen adoption in scientific/compression research domains.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Rust
98%
C
2%

Information

Language
Rust
License
AGPL-3.0
Last updated
1w ago
Created
187mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

dmtrKovalenko

dmtrKovalenko/odiff

ODiff is a high-performance SIMD-optimized image comparison library that...

3.1k Zig
mitsuhiko

mitsuhiko/similar

Similar is a Rust library providing multiple diffing algorithms (Myers',...

1.3k Rust Dev Tools
image-rs

image-rs/image

A comprehensive Rust library for encoding and decoding multiple image formats...

5.8k Rust Media
ermig1979

ermig1979/Simd

Simd Library is a high-performance C/C++ image processing and machine learning...

2.3k C++ AI & ML
rust-lang

rust-lang/portable-simd

Portable SIMD is the standard library's experimental API for writing...

1.1k Rust Dev Tools
vs. alternatives
odiff (Zig, 3,056 stars)

Higher GitHub visibility; similar perceptual comparison focus but written in Zig. dssim offers multiscale Lab-space SSIM with color profile support; odiff's specific algorithm not detailed in this analysis. dssim has 15-year history and commercial licensing; odiff appears newer.

pixelmatch (JavaScript, 6,865 stars)

Significantly higher adoption; JavaScript-based makes it web-native. pixelmatch is simpler/faster for pixel-level diff; dssim emphasizes perceptual accuracy via multiscale SSIM. Different use cases: pixelmatch for visual regression testing, dssim for compression quality assessment.

image-rs (Rust, 5,811 stars)

General-purpose image processing library; dssim is single-purpose (similarity). image-rs offers broader image manipulation; dssim is specialized metric. Could be complementary rather than competitive.

Hugo-Dz/spritefusion-pixel-snapper (Rust, 2,166 stars)

Rust-based image tool but focused on sprite/pixel manipulation, not similarity metrics. Serves different problem domain.

mapbox/portable-simd (Rust, 1,059 stars)

Low-level performance library unrelated to image metrics. dssim may use SIMD internally but serves entirely different purpose.