7 lines
197 B
Nim
7 lines
197 B
Nim
import pixie/fileformats/jpg, fidget/opengl/perf
|
|
|
|
let data = readFile("tests/images/jpg/jpeg420exif.jpg")
|
|
|
|
timeIt "pixie decode":
|
|
for i in 0 ..< 20:
|
|
discard decodeJpg(cast[seq[uint8]](data))
|