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

@@ -651,6 +651,10 @@ pub struct PsbListFixed {
}
impl PsbListFixed {
pub fn new() -> Self {
PsbListFixed { values: vec![] }
}
/// Converts this PSB list to a original PSB list.
pub fn to_psb(self, warn_on_none: bool) -> PsbList {
let v: Vec<_> = self