f
This commit is contained in:
parent
2cb17d71e2
commit
59b6f6aaaf
|
@ -1,8 +1,6 @@
|
||||||
import benchy, pixie/fileformats/svg, pixie/fileformats/png
|
import benchy, pixie/fileformats/svg
|
||||||
|
|
||||||
let data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
|
let data = readFile("tests/fileformats/svg/Ghostscript_Tiger.svg")
|
||||||
|
|
||||||
writeFile("tiger.png", decodeSvg(data).encodePng())
|
|
||||||
|
|
||||||
timeIt "svg decode":
|
timeIt "svg decode":
|
||||||
discard decodeSvg(data)
|
discard decodeSvg(data)
|
||||||
|
|
Loading…
Reference in a new issue