On Tue, 21 Oct 2025 12:01:03 -0400
=?UTF-8?Q?Louis-Philippe_V=C3=A9ronneau?= <[email protected]> wrote:
I also have some reserves, especially in terms of compute power needed
for those checks. Lintian needs to stay a tool that's relatively "cheap"
to run and I would be afraid checking all the images in a package could
dramatically affect runtime.
Not only that, but libraries used for parsing images are often large and
tend to come with a lot of security updates (since they tend to have a
lot of vulnerabilities...). Not sure we really want Lintian to depend on
that :(
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
⢿⡄⠘⠷⠚⠋ [email protected] / veronneau.org
⠈⠳⣄
Scratch that. It seems the test would be done using exiftool, which is
provided by libimage-exiftool-perl:
$ exiftool FOO.png | grep -i -e copy -e licen
Since that's a perl library, there's probably a pure perl way to invoke
that test, instead of using the external exiftool program.
I would still want to make sure that test is "cheap" before merging it
though :)
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
⢿⡄⠘⠷⠚⠋ [email protected] / veronneau.org
⠈⠳⣄