image-reducer 0.1.1

Reduce image size by quantization
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;
use std::time::SystemTimeError;

impl From<IoError> for TinyError {
    fn from(value: IoError) -> Self {
        Self::IoError(value.to_string())
    }
}

impl From<SystemTimeError> for TinyError {
    fn from(value: SystemTimeError) -> Self {
        Self::FormatError(value.to_string())
    }
}