# fails when scouring deja-dup.svg with --disable-style-to-xml (which gives the buggy result):
$ ~/cmpsvg deja-dup-orig.svg deja-dup-scour-style.svg
difference: 5.51%
Images differ by more than 0.50%
1
(1 is the exit code)
# succeeds with scouring with no options:
$ ~/cmpsvg deja-dup-orig.svg deja-dup-scour.svg
difference: 0.14%
0
I wrote a little fuzzy SVG comparison script:
# fails when scouring deja-dup.svg with --disable- style-to- xml (which gives the buggy result): scour-style. svg
$ ~/cmpsvg deja-dup-orig.svg deja-dup-
difference: 5.51%
Images differ by more than 0.50%
1
(1 is the exit code)
# succeeds with scouring with no options:
$ ~/cmpsvg deja-dup-orig.svg deja-dup-scour.svg
difference: 0.14%
0
I set the default rejection threshold to 0.5%.