* Add new jpeg tests. * Resurrect old jpeg. * Fix Jpeg grayscale * Fix 4:1:1 scaling. * Better chunk scanner. * Fight progressive. * Fight restart markers. * Jpeg can now parse all of the test files. * Fuzzing and overflow checks * Make getBits* the only way to read the bits. * Make Quantiziation and IDCT happen only in one place. * Rename jpg folder to jpeg
3 lines
135 B
Nim
3 lines
135 B
Nim
import pixie/fileformats/jpg, pixie/fileformats/stb_image/stb_image
|
|
|
|
let original = readFile("tests/fileformats/jpeg/jpeg420exif.jpg")
|