Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Premultiplied Alpha vs. Not-Premultiplied Alpha Blending and Compositing. Parent comment
original image -> convert to linear color space -> multiply alpha -> blur -> composite -> possibly convert back to sRGB if needed
The wrong way I meant was
original image -> multiply alpha -> gamma-correct-blur -> composite
where gamma-correct-blur = convert to linear color space -> blur filter -> convert to sRGB
There are no comments on this comment yet.
original image -> convert to linear color space -> multiply alpha -> blur -> composite -> possibly convert back to sRGB if needed
The wrong way I meant was
original image -> multiply alpha -> gamma-correct-blur -> composite
where gamma-correct-blur = convert to linear color space -> blur filter -> convert to sRGB