A simple, yet comprehensive Image-reading crate for plotting data with dynamically placed origin based on dataset. (Inspired by Google's simple approach to plotting) and an image reading crate that breaks down data with the precision decided by the user. All is Very, very alpha-stage right now.
Plot Example: https://imgur.com/a/i72KTgB
```rust
// Plotting a 2d Vector with log scale in mind // @Params: x: &u32, y: &u32 use picolo::plot::plottbl; fn main() { let x = vec![-0, -151, -0, -500, 50, -8612529]; let y = vec![0, 12152, 12521, 254120, 521550, 602]; plottbl(&x, &y); } ```
```rust
// Easiest way to print half the contents let pixlstruct = loadpicture("images/icon.png", 50);
for i in pixl_struct { println!("{:?}", i); }
// Accessing all fields:
// @Params: &path as &str, precision as u32 (100 = 100% = pixels counted, 50 = 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); }
```