Add support to export multiple images

This commit is contained in:
2025-06-29 19:25:55 +08:00
parent 389ba1f52a
commit ebcce0b741
5 changed files with 205 additions and 1 deletions

View File

@@ -375,3 +375,10 @@ pub struct ImageData {
pub depth: u8,
pub data: Vec<u8>,
}
#[cfg(feature = "image")]
#[derive(Clone, Debug)]
pub struct ImageDataWithName {
pub name: String,
pub data: ImageData,
}