Fixed problems when comparing gray scale images.

This commit is contained in:
SET 2020-08-13 22:32:15 -03:00
parent ed538d9679
commit 7544f75a53
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ class TestContext(object):
os.path.join(REF_DIR, reference),
# Avoid the part where KiCad version is printed
'-crop', '100%x92%+0+0', '+repage',
'-colorspace', 'RGB',
self.get_out_path(diff)]
logging.debug('Comparing images with: '+str(cmd))
res = subprocess.check_output(cmd, stderr=subprocess.STDOUT)