wip: support for G835L

This commit is contained in:
Ghoul
2026-01-21 23:14:04 +05:00
parent 14c4b0501d
commit 9ee154cd1c
5 changed files with 121 additions and 342 deletions

View File

@@ -1,3 +1,5 @@
// TODO: This is a provisional copy paste of GA401
#[cfg(test)]
mod tests {
use std::path::PathBuf;
@@ -228,7 +230,7 @@ mod tests {
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
// TODO: create a png file for G835L
path.push("tests/data/ga401-diagonal.png");
path.push("tests/data/g835l-diagonal.png");
let matrix = AnimeDiagonal::from_png(&path, None, 255.0, AnimeType::G835L).unwrap();
let data = matrix.into_data_buffer(AnimeType::G835L).unwrap();