A very simple Image-reading crate for plotting data and transposing image contents into a detailed data structure with the precision decided by the user. Very, very alpha-stage right now.
Plot: https://imgur.com/a/drPB8e0
```rust
// Plotting a 2d Vector // @Params: x: &u32, y: &u32 use picolo::plot::plot_tbl; fn main() { let x = vec![0, 152, 142, 500, 50, 169]; let y = vec![0, 152, 100, 600, 50, 152]; plot(&x, &y); } ```
Precision explanation: 100 = 100%, 50 = 50% of the pixels counted.
```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%, ...)
use picolo::readimg::load_picture;
let foo = "images/icon.png"; let barstr = &foo; let precision = 100; 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); }
```