3 ms·
We should really retire sRGB as the standard monitor colourspace and use 16-bit linear floats per channel. Every single image operator gets really tricky if you
by anon4 11y ago
We should really retire sRGB as the standard monitor colourspace and use 16-bit linear floats per channel. Every single image operator gets really tricky if you work in 8-bit sRGB and most don't bother, i.e. they treat 0-255 as linear values and everything from anti-aliasing to blitting to blurring is absolutely broken in all standard desktop applications. It's a bit better if you do 3d rendering with OpenGL/Direct3D, since their entire pipeline is linear and all you have to do is set the "this texture is in sRGB colourspace" bit on every texture and convert the final colour from linear RGB to sRGB in your shader.
- colanderman 11y agoMeh, it's a good smell test. If a given tool doesn't even get sRGB correct, there's probably several dozen other ways the designer failed to understand how graphics work. Today I can just pop the first image on this page <http://www.4p8.com/eric.brasseur/gamma.html> http://www.4p8.com/eric.brasseur/gamma.html> into an image editor. If I don't see the Dalai Lama after downscaling, it's probably a poor quality editor beside its sRGB fail. It's like Van Halen's M&Ms.
- zero_iq 11y agoRemove the extraneous angle bracket to fix the link. Mac OS X's exposé does some funky stuff to that image :)
- colanderman 11y agoSurprising that HN includes the angle bracket as part of the link... I'm pretty sure using angle brackets like that to delineate a link is recommended in some major RFC... Fixed link here, thanks: http://www.4p8.com/eric.brasseur/gamma.html http://www.4p8.com/eric.brasseur/gamma.html