mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Animated GIF export quantised every frame with no transparent index, so a transparent document came out opaque black. Each frame now does what Save for Web's GIF does: pixels under 50% opacity get a transparent index, the rest are drawn opaque, and the palette comes from the visible pixels with one entry kept for transparency. The encoder also left every frame in place (disposal 1). A frame with a transparent index is now cleared before the next one (disposal 2); otherwise earlier frames would show through it once transparency works. Co-authored-by: Claude Opus 5.5 <[email protected]>