rgb2vga 1.0.1

An RGB pixel to VGA color converter implemented in rust
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented1 out of 2 items with examples
  • Size
  • Source code size: 52.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 848.92 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mateolafalce/rgb2vga
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mateolafalce

rgb2vga

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
}

Examples

cargo run --example simple
cargo run --example std