PUZZLE-DIFF(1)
β¨ PUZZLE-DIFF(1) β¨
okay bestie, welcome to the puzzle-diff page from section 1 of the manual π it's the little command-line bestie of libpuzzle and she is here to compare your pictures for you. no cap.
πΈ NAME πΈ
puzzle-diff β compare pictures with libpuzzle π¦
β¨ SYNOPSIS β¨
[-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>
like. that's the whole vibe check. two files go in, a number comes out π
π DESCRIPTION π
puzzle-diff takes two pictures and outputs the normalized distance between them. that's it. that's the job. she's booked and busy and her only task is math-ing at your images π§
lowkey if you want more info, just try this:
puzzle-diff -h
she'll tell you everything, i promise π«Ά
π EXAMPLES π
output the distance between two images, periodt
$ puzzle-diff pic-a-0.jpg pics-a-1.jpg
0.102286
the number is the normalized distance. the smaller it is, the more the pics are giving "same picture" energy π
compare two images and exit with a status code
this one is highkey useful for scripts, iykyk:
$ puzzle-diff -e pic-a-0.jpg pics-a-1.jpg
$ echo $?
10
so like β exit with 10 if they look the same, and exit with 20 if they don't π₯ (may be useful for scripts)
distance without cropping + average intensity of the whole blocks
$ puzzle-diff -p 1.0 -c pic-a-0.jpg pic-a-1.jpg
0.0523151
compute distance, without cropping, and with computing the average intensity of the whole blocks β¨ slay
π AUTHORS π
Frank DENIS β libpuzzle at pureftpd dot org π
π¦ SEE ALSO π¦
and that's the page, bestie!! this was PUZZLE-DIFF(1) from the manual, and yes the footer really is just PUZZLE-DIFF(1) again β no date, no version, just the name twice, which is honestly such a minimalist icon behavior π
go forth and diff your pics πΈπ«Ά
π¦ where this page comes from
- debian trixie: libpuzzle-bin 0.11-3+b2 Β· ISC
- ubuntu noble: libpuzzle-bin 0.11-3build1 Β· ISC
- ubuntu questing: libpuzzle-bin 0.11-3build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms