Re:Faster, easier 2D vector rendering [video]
by kookamamie on Wednesday June 11, 2025 @08:12AM
(#44246784)
You absolutely want premult alpha when dealing with multiple transparent layers in graphics.
[ Parent
| on HN ]
Re:Faster, easier 2D vector rendering [video]
by bschwindHN on Wednesday June 11, 2025 @08:13AM
(#44246797)
Right - maybe I'm mistaken but doesn't Porter-Duff compositing encompass premultiplied alpha?
Re:Faster, easier 2D vector rendering [video]
by kookamamie on Thursday June 12, 2025 @04:01AM
(#44255162)
Yes, they introduced the concept in their paper. See this article for an in-depth guide to the topic: https://ciechanow.ski/alpha-compositing/
Re:Faster, easier 2D vector rendering [video]
by bschwindHN on Thursday June 12, 2025 @07:06AM
(#44256231)
Great article! I'm going to have to take my time on that one.
But I guess I'm confused why @morio said "Just browsing the source I see Porter Duff blend modes. Really, in 2025?" because I'm not sure what they were expecting to be used in 2025.