Add support to export pimg file as PSD file

This commit is contained in:
2026-02-03 11:22:20 +08:00
parent 151c71d5e9
commit 8b2eef1028
10 changed files with 194 additions and 14 deletions

View File

@@ -660,6 +660,10 @@ pub struct Arg {
#[arg(long, global = true, action = ArgAction::SetTrue)]
/// Whether to disable compression for image data in PSD files.
pub psd_no_compress: bool,
#[cfg(feature = "emote-img")]
#[arg(long, global = true, action = ArgAction::SetTrue)]
/// Export Emote PIMG images as PSD files.
pub emote_pimg_psd: bool,
#[command(subcommand)]
/// Command
pub command: Command,