stb_image_write_rust

Crates.iostb_image_write_rust
lib.rsstb_image_write_rust
version1.16.1
sourcesrc
created_at2022-01-05 02:10:54.912042
updated_at2022-01-06 22:24:31.31401
descriptionRust port of the stb_image_write
homepage
repositoryhttps://github.com/StbRust/stb_image_write_rust
max_upload_size
id508180
size128,993
Roman Shapiro (rds1983)

documentation

README

Overview

stb_image_write_rust is Rust port of stb_image_write.h, which is library to save images in BMP, JPG, PNG and TGA formats

Crate

https://crates.io/crates/stb_image_write_rust

Sample Code

use stb_image_write_rust::ImageWriter::ImageWriter;

fn main() {
    let mut writer = ImageWriter::new("output.jpg");
    writer.write_jpg(width, height, components, image_data, 90);
}

Commit count: 14

cargo fmt