Add import support for Qlie tiled PNG image (.png)

This commit is contained in:
2026-01-31 16:36:49 +08:00
parent 3c424a28c0
commit 7f8d1daf9d
13 changed files with 202 additions and 16 deletions

View File

@@ -63,6 +63,7 @@ impl ScriptBuilder for TlgImageBuilder {
fn create_image_file<'a>(
&'a self,
mut data: ImageData,
_filename: &str,
writer: Box<dyn WriteSeek + 'a>,
_options: &ExtraConfig,
) -> Result<()> {
@@ -142,6 +143,7 @@ impl Script for TlgImage {
fn import_image<'a>(
&'a self,
mut data: ImageData,
_filename: &str,
file: Box<dyn WriteSeek + 'a>,
) -> Result<()> {
if data.depth != 8 {