agb/agb-image-converter/src/lib.rs

21 lines
367 B
Rust
Raw Normal View History

2021-04-20 08:15:03 +10:00
use std::path;
2021-04-20 08:15:03 +10:00
mod colour;
pub use colour::Colour;
#[derive(Debug, Clone, Copy)]
pub enum TileSize {
Tile8,
Tile16,
}
2021-04-20 08:15:03 +10:00
pub struct ImageConverterConfig {
pub transparent_colour: Option<Colour>,
pub tile_size: TileSize,
pub input_file: path::PathBuf,
pub output_file: path::PathBuf,
}
2021-04-20 08:15:03 +10:00
pub fn convert_image(setting: &ImageConverterConfig) {}