mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
A layered TIFF carried an empty `LMsk` block in its ImageSourceData (tag 37724). Photoshop rejects that: it reports a problem reading the layer data and opens only the composite. Photoshop writes 14 bytes there itself (overlay colour space 0, colour 65535/0/0/0, opacity 50, kind 128). The TIFF writer now uses those bytes when the model's global layer mask is empty. PSD output is unchanged; an empty block is fine there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>