News for hackers. Stuff that matters.
Re:J40: Independent, self-contained JPEG XL decoder by greatgib on Sunday September 18, 2022 @05:13AM (#32885822)
First, very good job to have created such a simple lib without dependency!

Looking at the code example, I was wondering if the 'oops' error check wouldn't be doable at a frame level, or even have some recoverable errors for within a frame?

When loading that kind of objects (image, vidéos,...) It is always annoying when libs have an all of nothing behavior.

Re:J40: Independent, self-contained JPEG XL decoder by lifthrasiir on Sunday September 18, 2022 @05:35AM (#32885940)
J40 is indeed designed with a possibility of partial decoding in mind, but both the API and the internal architecture is currently less prepared for such use cases.