diffimg: binary tool for comparing images (#9668)
This tool uses existing libraries: image, imageio, imageio-lite, imagediff to perform difference comparison for on-disk images. We refactor renderdiff to use this tool instead of using python dependencies. Co-authored-by: Ben Doherty <bendoherty@google.com>
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
"view.dithering": "NONE"
|
||||
},
|
||||
"tolerance": { // [optional] Simple tolerance - single criteria
|
||||
"max_pixel_diff": 5, // Max absolute difference per channel (0-255)
|
||||
"allowed_diff_pixels": 0.1 // Percentage of pixels allowed to exceed (0-100%)
|
||||
"maxAbsDiff": 0.0196, // Max absolute difference per channel (5/255)
|
||||
"maxFailingPixelsFraction": 0.001 // Percentage of pixels allowed to exceed (0.1%)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user