add option to support extract original layer image for PIMG

This commit is contained in:
2025-07-19 22:39:46 +08:00
parent 601abba284
commit 88bf83802d
4 changed files with 73 additions and 2 deletions

View File

@@ -153,6 +153,10 @@ pub struct Arg {
#[arg(long, global = true, action = ArgAction::SetTrue)]
/// Whether to compress files in BGI archive when packing BGI archive.
pub bgi_compress_file: bool,
#[cfg(feature = "kirikiri-img")]
#[arg(long, global = true)]
/// Whether to overlay PIMG images. (By default, true if all layers are not group layers.)
pub kirikiri_pimg_overlay: Option<bool>,
#[command(subcommand)]
/// Command
pub command: Command,