minimg

Crates.iominimg
lib.rsminimg
version0.1.4
sourcesrc
created_at2023-10-09 21:32:15.276599
updated_at2024-02-10 03:44:24.924678
descriptionA mini image library
homepage
repositoryhttps://github.com/ThePJB/minimg
max_upload_size
id998539
size9,489
(ThePJB)

documentation

README

Minimg

This is a minimal library that enables output of RGBA png images. The colour type is a Vec4. Example

fn main() {
    let mut buf = ImageBuffer::new(512, 512);
    buf.set(69, 420, vec4(1.0, 0.0, 0.0, 1.0));
    buf.dump_to_file("test.png");
}
Commit count: 5

cargo fmt