panorama-tiler 0.1.2

A tiling and configuration generator to convert equirectangular or cylindrical panoramas into multi-resolution cubemaps.
Documentation
use fast_image_resize::ResizeError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum TilerError {
    #[error("I/O error occurred: {0}")]
    Io(#[from] std::io::Error),

    #[error("Image manipulation error: {0}")]
    Image(#[from] image::ImageError),

    #[error("JSON processing error: {0}")]
    Json(#[from] serde_json::Error),

    #[error("Invalid configuration value: {0}")]
    InvalidConfig(String),

    #[error("Can't resize image: {0}")]
    ResizeError(#[from] ResizeError),
}