Norm is a tiny command-line utility to compute the norm of the difference between two images. It is written in Nim.
You can download prebuilt binaries for Linux and macOS from GitHub releases.
norm example/original.png example/perturbed.png
norm example/original.png example/perturbed.png -n l2
norm example/original.png example/perturbed.png -n linf