Obtain all required vectors; Quick draft for project
This commit is contained in:
@@ -5,6 +5,7 @@ use slint::{Rgba8Pixel, SharedPixelBuffer};
|
||||
use tool_helper::Error;
|
||||
use types::Encoding;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct TIMInfo {
|
||||
_path: PathBuf,
|
||||
image_data: SharedPixelBuffer<Rgba8Pixel>,
|
||||
@@ -119,6 +120,7 @@ impl TIMInfo {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
struct PaletteInfo {
|
||||
data: Vec<Rgba8Pixel>,
|
||||
width: u32,
|
||||
|
||||
Reference in New Issue
Block a user