PUZZLE-DIFF(1)

πŸ“¦
version 0.11 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing

✨ 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