DOKK / manpages / debian 10 / jpegjudge / jpegjudge.1.en
JPEGJUDGE(1) General Commands Manual JPEGJUDGE(1)

jpegjudge - guess jpeg picture quality

jpegjudge [ -V ]

jpegjudge [ -b ] file ...

Jpegjudge reads each argument and attempts to guess the quality with which it was saved. Currently, only a rough indicator is calculcated, ranging from 0 (lowest quality) to 1000 (highest quality), an extension to other formats would be straightforward, but isn't planned.

It can read all pictures the IJG jpeg library can read, i.e. normal and progressive jpeg's.

Display only quality indicator, suppress other information (filenames).
Display short summary of options.
Display version number and exit.

It should be possible to judge pictures stored in non-lossy formats, too, since conversion to jpeg may influence the measurement.

The quality indicator is non-linear, and could be much better.

The algorithm to calculate the quality was made up in 10 minutes, after staring at various histograms.

This program contains code from the IJG jpeg software.

Jpegjudge - guess jpeg picture quality