1970s Film Hack Rescues Playwright's Botched Transparent Videos
You've slaved over HTML/CSS graphics in Playwright, exported transparent PNGs, stitched to video — only for glows and shadows to blob out in Premiere. One dev dusted off 1970s film math to fix it for good.
⚡ Key Takeaways
- Playwright's omitBackground mangles low-alpha pixels due to premultiplied-to-straight conversion losses. 𝕏
- Render on black/white backgrounds and use Porter-Duff math for exact RGBA extraction — no browser alpha needed. 𝕏
- This 1970s VFX hack delivers pro video overlays; expect it to spawn npm libs soon. 𝕏
Worth sharing?
Get the best Developer Tools stories of the week in your inbox — no noise, no spam.
Originally reported by dev.to