News for hackers. Stuff that matters.
Re:The SRGB Learning Curve by anon4 on Wednesday December 02, 2015 @06:44AM (#10662382)
12bit will be pretty awful to work with though. That will mean 36 bits per pixel, which doesn't fit into a whole number of 8-bit-bytes. Best to just bite the bullet and go 16bit for internal representation.
Re:The SRGB Learning Curve by DiabloD3 on Wednesday December 02, 2015 @07:23AM (#10662503)
That's how a lot of software that can handle 12 bit already does it. It is only baked to whatever format the display wants (yes, 12 bit displays exist, they are tens of thousands of dollars, and only used very sparingly during post-production).

Presumably, it is either padded to 5 bytes, or two pixels are shoved into 9 bytes when shipped to the monitor.