mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-11 12:46:47 +00:00
A 16/32-bit file whose global Lr16/Lr32/Layr block failed to parse opened as a single Background layer from the merged image with no warning: the parse error was discarded in PsdFile::from_bytes. The raw block stayed in the preserved global blocks, so a PSD save wrote the document's fresh Lr16 plus the unreadable original: two layer lists in one file. - psd: PsdFile::unreadable_layer_block() reports the kept block and its parse error. - io import: a warning names the block and the error and says only the merged image was opened. - io export: a preserved Lr16/Lr32/Layr block is not re-emitted when the document's own layers are written. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>