Files
photocraft/crates/engine
David MannandClaude Opus 5.5 e01fa8ba4e Image: Trim (Transparent Pixels) ignores alpha that rounds to 0 at the document's depth (#9299)
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>
2026-10-25 03:04:21 +01:00
..