better output?

This commit is contained in:
treeform 2022-07-08 20:32:27 -07:00
parent e138b44280
commit 7425e6554e

View file

@ -19,7 +19,7 @@ proc diffVs(image: Image, masterPath: string) =
makeDirs(xRayPath.splitPath.head)
image.writeFile(imagePath)
xRay.writeFile(xRayPath)
echo &"diff {masterPath} vs {imagePath} -> {xRayPath} with {score}"
echo &"diff {masterPath} -> {score*100:0.3f} %"
block:
let ctx = newContext(newImage(300, 160))