Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Swap jpeg decoders #571
This PR switches out the old Golang based Jpeg decoder with the newer PdfJs decoder.
This gives us a robust decoder that produces 100% accurate spectral output. Performance matches the Golang decoder with less memory usage. There is excellent scope for further improving performance also.
We'll keep both decoders in the codebase for now as there might be ideas we can still pinch from the Golang decoder.
I've also expanded the unit tests to better cover both decoders and reorganized the internal namespaces to clean up the code.