Most digital images intended for viewing are generally assumed to be in sRGB colour space, which is gamma-encoded. This means that a linear increase of value in colour space does not correspond to a linear increase in actual physical light intensity, instead following more of a curve. If we want to mathematically operate on colour values in a physically accurate way, we must first convert them to linear space by applying gamma decompression. After processing, gamma compression should be reapplied before display. The following C code demonstrates how to do so following the sRGB standard:
17:12, 27 февраля 2026Интернет и СМИ
。业内人士推荐同城约会作为进阶阅读
Сайт Роскомнадзора атаковали18:00
Филолог заявил о массовой отмене обращения на «вы» с большой буквы09:36
Гангстер одним ударом расправился с туристом в Таиланде и попал на видео18:08