libmagie 0.1.0

A magical library for processing images.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::fs::File;

use crate::image::Image;

mod jpeg;
pub mod bitmap;

// pub trait Encoder<T: Image> {
//     fn encode(_: ) -> T;
// }

pub trait Decoder<T: Image> {
    fn decode(_: File) -> T;
}