I've found the following issue with the compare command:
Code: Select all
YB@DESKTOP-B4TNF55 MINGW64 ~
$ compare -precision 10 -verbose -metric ncc P1023185.png ../q/P1023185.png.jpg info:
compare.exe: unrecognized option `-precision' @ error/compare.c/CompareImagesCommand/857.
Code: Select all
YB@DESKTOP-B4TNF55 MINGW64 /d/YB/jpeg/Session/Output/b
$ env MAGICK_PRECISION=10 compare -verbose -metric ncc P1023185.png ../q/P1023185.png.jpg info:
P1023185.png PNG 2168x3008 2168x3008+0+0 8-bit sRGB 11144067B 0.188u 0:00.210
../q/P1023185.png.jpg JPEG 2168x3008 2168x3008+0+0 8-bit sRGB 3478309B 0.141u 0:00.722
Image: P1023185.png
....
Properties:
date:create: 2019-06-29T21:12:31+00:00
date:modify: 2019-06-29T21:12:33+00:00
distortion: 0.999029273
....
Image: P1023185.png
Channel distortion: NCC
red: 0.99868
green: 0.999315
blue: 0.999093
all: 0.999029
Let me know if you need additional information.