nothings / stb

stb single-file public domain libraries for C/C++
https://twitter.com/nothings
Other
26.55k stars 7.69k forks source link

stb_image: Add support for gainmaps (`libultrahdr`) support to image loader #1637

Closed cmahnke closed 5 months ago

cmahnke commented 5 months ago

Is your feature request related to a problem? Please describe. This is a feature request, see https://github.com/Tom94/tev/issues/226, which uses sbt_image internally.

Describe the solution you'd like Loading HDR images, in the form of JPEG files with gainmap should be supported. The format is implemented by libultrahdr, a technical description is linked in the further ressources section.

Describe alternatives you've considered None yet, since this is upstream library.

Additional context Further Resources:

CC @gregbenz

nothings commented 5 months ago

We're not adding any new image formats to stb_image.

cmahnke commented 5 months ago

It's not a completely new format, it's just a SDR JPEG with an additional data stream, containing the gainmap.