#image #charls #libcharls #jpegls

charls

Bindings for CharLS, the JPEG-LS implementation

7 releases

new 0.4.1 Apr 10, 2025
0.4.0 Dec 19, 2024
0.3.1 Sep 2, 2024
0.3.0 Aug 29, 2024
0.2.0 Jul 29, 2024

#420 in Images

Download history 144/week @ 2024-12-16 1/week @ 2025-01-06 8/week @ 2025-01-13 8/week @ 2025-01-20 1/week @ 2025-01-27 24/week @ 2025-02-03 11/week @ 2025-02-10 21/week @ 2025-02-17 22/week @ 2025-02-24 54/week @ 2025-03-03 28/week @ 2025-03-10 13/week @ 2025-03-17 29/week @ 2025-03-24 4/week @ 2025-03-31

77 downloads per month
Used in 2 crates (via dicom-transfer-syntax-reg…)

MIT license

12KB
217 lines

Rust bindings for CharLS, the implementation of the JPEG-LS standard for lossless and near-lossless image compression and decompression.

Cargo features

  • static: statically link CharLS. If this is not enabled, you need to install the CharLS (e.g. libcharls.so) into your system or add it to your library path (LD_LIBRARY_PATH).

Example

use charls::CharLS;

// Read a JPEG-LS file
let data = std::fs::read("test.jls")?;
let mut charls = CharLS::default();
let decoded = charls.decode(&data)?;

charls-rs

charls on crates.io dependency status charls documentation

Rust bindings for CharLS, the implementation of the JPEG-LS standard for lossless and near-lossless image compression and decompression.

Dependencies

~10MB
~18K SLoC