Closed gizmomogwai closed 1 year ago
Interesting I have probably botched an optimization lately
I fear that was the jpeg non return refactoring as that's exactly the commit when it's starting for me ...
OK, the test is supposed to be a valid JPEG or invalid? In the latter case probably a missing decoding exit.
OK so only the first 8192 bytes gets read, investigation just starting
Progressive JPEG working again in v2.1.4
Thanks for this super quick fix! Works for me now as well!
My pleasure! This was a dangerous regression. Thanks for reporting :)
I found an joeg in a jpeg testsuite, that works with version 2.1.1, but not with 2.1.2 or 2.1.3. I uploaded the image to https://github.com/gizmomogwai/gamut/blob/main/examples/test-suite/test-images/316be81dfdeeb942e904feb3a77f4f83.jpg When I run the decoder on it with newer versions I get just grey output, with 2.1.1 all is as expected.