News for hackers. Stuff that matters.
Re:Towards richer colors on the Web by mattowen_uk on Saturday July 03, 2021 @09:36AM (#27721536)
What I didn't understand, and maybe someone can explain it to me...

In both Firefox and Chrome I couldn't see the webkit logo on the right hand red square, HOWEVER if I copy/pasted the right hand red square into Paint.NET the logo was VERY visible. Why did it work in one app and not the others?

Re:Towards richer colors on the Web by raphlinus on Saturday July 03, 2021 @10:14AM (#27721743)
The right image is not in sRGB, it's in Display P3. The difference in reds is pretty subtle, so most likely if Paint.NET is showing a dramatic difference, it's misinterpreting the color space of the PNG image.
Re:Towards richer colors on the Web by wffurr on Saturday July 03, 2021 @11:19AM (#27722160)
Because Chrome and FF smash the color information in the bitmap into 32-bit integer sRGB format instead of a 128-bit float format with a color space.
Re:Towards richer colors on the Web by bscphil on Monday July 05, 2021 @02:57AM (#27735285)
Do you have color management fully enabled in Firefox? If you don't have a color profile assigned then Firefox will probably just treat your screen as sRGB, meaning that both images will be compressed into the tiny sRGB gamut and look the same.

I'm not sure how / whether Paint.NET does color management.

Re:Towards richer colors on the Web by cyberge99 on Saturday July 03, 2021 @10:14AM (#27721747)
It’s due to how the browser app renders color.