Crates.io | kagamijxl |
lib.rs | kagamijxl |
version | 0.3.3 |
source | src |
created_at | 2021-01-24 22:59:28.457332 |
updated_at | 2022-01-01 18:33:02.827538 |
description | Opinionated JPEG XL decoder/encoder library. |
homepage | |
repository | https://github.com/saschanaz/jxl-rs/tree/main/kagamijxl |
max_upload_size | |
id | 346203 |
size | 2,163,647 |
Opinionated JPEG XL decoder/encoder library.
See the documentation.
let result = kagamijxl::decode_memory(vec);
result.frames[0].data
let mut decoder = kagamijxl::Decoder::default();
decoder.need_color_profile = true;
let result = decoder.decode(vec);
(result.color_profile, result.frames[0].data)