fix(agent): flatten transparency onto white before RGB #148

Merged
bvandeusen merged 1 commits from dev into main 2026-06-29 19:18:48 -04:00
Owner

First-run polish: transparent palette images (character PNGs on a clear background) were going through a naive convert('RGB'), letting PIL guess the transparent pixels (black-ish artifacts → bleed into the crop + embedding, plus the "should be converted to RGBA" warning). to_rgb() composites over white first. Used by stills + video frames. Triggers a build-agent republish.

🤖 Generated with Claude Code

First-run polish: transparent palette images (character PNGs on a clear background) were going through a naive `convert('RGB')`, letting PIL guess the transparent pixels (black-ish artifacts → bleed into the crop + embedding, plus the "should be converted to RGBA" warning). `to_rgb()` composites over white first. Used by stills + video frames. Triggers a `build-agent` republish. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
bvandeusen added 1 commit 2026-06-29 19:18:37 -04:00
fix(agent): flatten transparency onto white before RGB (#114)
CI / lint (push) Successful in 2s
CI / frontend-build (push) Successful in 19s
CI / backend-lint-and-test (push) Successful in 27s
CI / integration (push) Successful in 3m24s
3abbe58450
A naive convert('RGB') on a palette-with-transparency image (common: character
PNGs on a clear background) lets PIL guess the transparent pixels — black-ish
artifacts that bleed into the crop + the CCIP embedding (and the "should be
converted to RGBA" warning). to_rgb() composites over white first for a clean,
consistent background; used by both stills and video frames.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa
bvandeusen merged commit 5d0c7ba706 into main 2026-06-29 19:18:48 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledCurator#148