This commit is contained in:
Ryan Oldenburg 2021-11-25 01:14:02 -06:00
parent d0014270dc
commit 9320beecc3
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -1,4 +1,4 @@
import pixie, strformat
import pixie, pixie/fileformats/svg, strformat
const files = [
"line01",
@ -25,4 +25,4 @@ proc doDiff(rendered: Image, name: string) =
diffImage.writeFile(&"tests/fileformats/svg/diffs/{name}.png")
for file in files:
doDiff(decodeImage(readFile(&"tests/fileformats/svg/{file}.svg")), file)
doDiff(decodeSvg(readFile(&"tests/fileformats/svg/{file}.svg")), file)