mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
Trim tested the float composite's alpha for > 0, so a pixel the 8-bit image stores as alpha 0 (e.g. alpha 1/255 on a 40 % layer) still counted as content and kept a margin. Judge alpha against half a step of the document's depth (8/16 bit); 32 bit is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>