puzzle-diff(1)

puzzle-diff1

Compare pictures with libpuzzle

Usage

[-b <contrast barrier for cropping>] [-c] [-C <max cropping ratio>] [-e] [-E <similarity threshold>] [-h] [-H <max height>] [-l <lambdas>] [-n <noise cutoff>] [-p <p ratio>] [-t] [-W <max width>] <file 1> <file 2>

Overview

puzzle-diff compares two pictures and outputs the normalized distance.

Try puzzle-diff -h for more info.

Examples

Output distance between two images:

  $ puzzle-diff pic-a-0.jpg pics-a-1.jpg
  0.102286

Compare two images, exit with 10 if they look the same, exit with 20 if they don't (may be useful for scripts):

  $ puzzle-diff -e pic-a-0.jpg pics-a-1.jpg
  $ echo $?
  10

Compute distance, without cropping and with computing the average intensity of the whole blocks:

  $ puzzle-diff -p 1.0 -c pic-a-0.jpg pic-a-1.jpg
  0.0523151

Releases

9 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–12
  8. 13

Authors

Frank DENIS libpuzzle at pureftpd dot org

From libpuzzle-bin 0.11-3+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.