Picolo

Image-reading crate for plotting data and transposing image contents into a data structure with the precision decided by the user.

Implementations

```rust

// Plotting a 2d Vector // @Params: x: &u32, y: &u32 use picolo::plot::plot; fn main() { let x = vec![0, 152, 1000]; let y = vec![0, 152, 490]; plot(&x, &y); } ```

Setting up

```rust

// Easiest way to print half the contents let pixlstruct = loadpicture("images/icon.png", 2);

for i in pixl_struct { println!("{:?}", i); }

// Accessing all fields: // @Params: &path as &str, precision as u32 (1 = 100% precision, 2 = 50% ...)
let foo = "images/icon.png"; let barstr = &foo; let precision = 1; let pixlstruct = picolo::loadpicture(barstr, precision);

// Print all the contents derived from image for i in pixl_struct { println!("x {} y {} red {} green {} blue: {}", i[0].x, i[0].y, i[0].color.red, i[0].color.green, i[0].color.blue); }

```

TODO: