We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2762e9c commit 86819bdCopy full SHA for 86819bd
.github/workflows/check-image-decoding.yml
@@ -49,7 +49,8 @@ jobs:
49
echo "Ignore: ${file}"
50
continue
51
else
52
- score=$(compare -metric PSNR "${file}" "decoded/${file}.png")
+ orig=$(cat Makefile | grep "^${file}" | sed "s/^${file}: \(.*\)$/\1/")
53
+ score=$(compare -metric PSNR "${orig}" "decoded/${file}.png")
54
echo " * ${file}: ${score}"
55
if test $(echo "${score} >= 30.0" | bc -l) -eq 0; then
56
exit -1
0 commit comments