xbr 0.2.4

A pixel art upscaler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// todo: use error when xbr fails
use std::{error::Error, fmt::Display};

#[derive(Debug)]
pub enum XBRError {
  OpeningFile,
  LoadingFromMemory,
}

impl Display for XBRError {
  fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    write!(f, "XBRError")
  }
}

impl Error for XBRError {}