News for hackers. Stuff that matters.
Re:Better SRGB to Greyscale Conversion by uninformedprior on Sunday October 19, 2025 @05:18PM (#45638082)
It's possible I wasn't specific enough when I said "graphics". Typically I blend in CIELAB when interpolating between colors for visualizations (eg data science).

But I'm unaware of rendering engines that do alpha blending in something other than linear or SRGB. Photoshop, for instance, blends in sRGB by default, while renderers that simulate light physically will blend in linear RGB (to the best of my knowledge).

It depends on the GPU and the implementation, but I personally would not want to spend the compute on per-pixel CIELAB conversions for blending.

Re:Better SRGB to Greyscale Conversion by zokier on Tuesday October 21, 2025 @07:45AM (#45654688)
> But I'm unaware of rendering engines that do alpha blending in something other than linear or SRGB.

Well, spectral rendering is a thing, kinda bypasses the problem of color blending for rendering in some cases.