Add basic emote psb file export support

This commit is contained in:
2025-09-15 18:58:37 +08:00
parent eabfa43da5
commit 9f03ebf435
10 changed files with 358 additions and 11 deletions

View File

@@ -445,6 +445,10 @@ pub struct ExtraConfig {
/// Workers count for encode JXL images in parallel. Default is 1.
/// Set this to 1 to disable parallel encoding. 0 means same as 1
pub jxl_workers: usize,
#[cfg(feature = "emote-img")]
#[default(true)]
/// Process tlg images.
pub psb_process_tlg: bool,
}
#[derive(Clone, Copy, Debug, ValueEnum, PartialEq, Eq, PartialOrd, Ord)]
@@ -533,6 +537,10 @@ pub enum ScriptType {
/// Circus Differential Image
CircusCrxd,
#[cfg(feature = "emote-img")]
#[value(alias("psb"))]
/// Emote PSB (basic handle)
EmotePsb,
#[cfg(feature = "emote-img")]
#[value(alias("pimg"))]
/// Emote PIMG image
EmotePimg,