| Crates.io | rgb2vga |
| lib.rs | rgb2vga |
| version | 1.0.1 |
| created_at | 2025-03-14 13:14:45.827638+00 |
| updated_at | 2025-03-20 19:12:06.17211+00 |
| description | An RGB pixel to VGA color converter implemented in rust |
| homepage | |
| repository | https://gitlab.com/mateolafalce/rgb2vga |
| max_upload_size | |
| id | 1592192 |
| size | 53,081 |
An RGB pixel to VGA color converter implemented in rust. This crate can be runned also in a no-std environment.
use rgb2vga::rgb2vga;
fn main() {
let rgb = (250, 128, 114);
let vga = rgb2vga(rgb);
// do other things
}
cargo run --example simple
cargo run --example std