mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 07:05:28 +00:00
Capture Chrome's pixel-perfect text rendering as transparent PNGs during scene extraction. Text elements are converted to Image elements in the scene JSON, so the Rust painter draws Chrome's actual glyphs instead of re-rendering with Skia (which produces different anti-aliasing). Also extends BakedElementState with per-frame bounds, colors, and border-radius for higher fidelity on animated properties. PSNR improvement on missing-host-comp-id fixture: Before: 19.1dB (visible differences) After: 44.2dB (near pixel-perfect) 30dB = imperceptible. 44dB = nearly identical.