From 48c3051e0d436a8eac9b69a2973a3c3e930fa353 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Thu, 12 Jun 2025 21:53:50 +0800 Subject: [PATCH] Bug fix --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 868cff6..7accde9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -516,6 +516,7 @@ pub fn export_script( } return Ok(types::ScriptResult::Ok); } + #[cfg(feature = "image")] if script.is_image() { let img_data = script.export_image()?; let out_type = arg.image_type.unwrap_or(types::ImageOutputType::Png);