Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem is simply that their downsampling is not gamma-corrected, so overall brightness is not preserved.

http://www.ericbrasseur.org/gamma.html



Also the reason why linear gradients aren't done properly in CSS, and W3C is aware of this.

https://erikmcclure.com/blog/everyone-does-srgb-wrong-becaus...


You can now opt in to the proper interpolation with the `in srgb-linear` option:

linear-gradient(in srgb-linear, ...)

Works in Safari/Chrome but not yet on Firefox


There's some pretty glaring aliasing and moire issues. Gamma correction might matter once they try to come up with better shaders but that's not the main issue. Rendering fine detail like a spreadsheet without major artifacts is an interesting problem, burden is mostly on Apple to figure out a solution for app devs. Higher resolution screens won't really help that much.


Given the link says MacOS 10.6 gets it right, I wonder if they forgot, or couldn’t squeeze it into some tiny frame budget. Supposedly that’s why the pass through picture quality is so bad, they needed to cut quality in software to meet the 8ms end to end latency budget.


I put together some notes and research on the subject for anyone interested: https://untested.sonnet.io/Natural+Gradients+in+CSS

Not sure if it’s still up to date, so please check out the list of resources mentioned in the footer too.


> If you want to give it a try, scale it down 50% using your best software.

Happy to report that in the last few years since 2007, GIMP did fix their default colorspace, I can scale the Dalai Lama down even with the Linear filter and it doesn't turn grey.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: