2022-06-09 00:53:22 +00:00
|
|
|
import jpegsuite, pixie, pixie/fileformats/jpeg
|
2022-05-05 16:19:17 +00:00
|
|
|
|
2022-05-11 22:54:02 +00:00
|
|
|
for file in jpegSuiteFiles:
|
2022-06-09 00:53:22 +00:00
|
|
|
let
|
|
|
|
image = readImage(file)
|
|
|
|
dimensions = decodeJpegDimensions(readFile(file))
|
|
|
|
doAssert image.width == dimensions.width
|
|
|
|
doAssert image.height == dimensions.height
|