This commit is contained in:
2025-06-12 21:53:50 +08:00
parent 242d501af5
commit 48c3051e0d

View File

@@ -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);