bkaradzic / bimg

Image library.
BSD 2-Clause "Simplified" License
333 stars 270 forks source link

Enable KTX sRGB formats #41

Closed rogual closed 4 years ago

rogual commented 4 years ago

All the m_internalFmtSrgb values were there already, just not used.

I've done this as 2 commits in case you just wanted to merge the first. The second commit makes texturec write sRGB by default, which might be a bit drastic (maybe an --srgb flag would be preferable?)