Share and discover more about AI with social posts from the community.huggingface/OpenAi
print_raster
v0.1.0
A crate for processing print raster images in Rust
#print #raster #cups #pwg #urf

print_raster
crates.io Released API docs BSD 3 Clause licensed

A crate for processing print raster images in Rust.

Supported Formats
URF (Apple Raster)
CUPS Raster V1
CUPS Raster V2, including PWG Raster (a subset of CUPS Raster V2)
CUPS Raster V3
Features
Fully Asynchronous I/O
Relatively low-level API
Development
You can run unit tests, integration tests, and documentation tests with the following command:

cargo test
For fuzz testing, it's a bit more complicated. You need to use the honggfuzz tool, which only works on a few platforms. See here to set it up.

After setting up honggfuzz, you can run a fuzz target:

cargo hfuzz run <fuzz_target>
https://crates.io/crates/print_raster crates.io: Rust Package Registry