j40
j40 copied to clipboard
J40: Independent, self-contained JPEG XL decoder
dj40.c line 5: #include "j40.h" #include "j40.h"
Might be helpful.
* [x] I agree to publish my contributions to the public domain and in any public-domain equivalent license described in [`LICENSE.txt`](https://github.com/lifthrasiir/j40/blob/main/LICENSE.txt). --- Change `height` to `pixels.height`
I built `cjxl` from the official https://github.com/libjxl/libjxl repo. I then made a `bricks-color.jxl` file (attached, with a fake `.png` file extension to satisfy the GitHub upload UI). ``` $ build/tools/cjxl...
Now that Chromium has dropped support for JPEG XL, the WebAssembly decoder is needed. Could you please provide a WASM version of J40? Thanks!
Test image: https://stsci-opo.org/STScI-01GA76Q01D09HFEV174SVMQDMV.png ``` $ time ./dj40 w.fjxl 14560x8418 frame read and discarded. real 0m16,854s user 0m16,325s sys 0m0,549s ``` 8 MPx/s, PNG decoding speed on the same CPU is...
As I noted in the [orange site](https://news.ycombinator.com/item?id=32885509), it is a long-term goal to produce a parallel Rust version of J40. There are many unanswered questions before starting this process, however....
Color management in JPEG XL is a complicated story. Ideally it's the best possible design: every JPEG XL codestream has a defined color profile (either ICC profile or abbreviated color...
This is currently an empty macro (and will remain so by default), but probably should be something else if it is to be used as, for example, a dynamically linked...
Thanks for this project. Reading the README it is not clear to me whether progressive JPEG images are supported. Could you please clarify that? (I'd like to try this lib...