Closed marauder2k7 closed 7 months ago
works for me on my PNGs. you'll have to provide an image that it doesn't work on.
this is one of the images it does it on.
how im testing the image in renderdoc
exiftool reports this as "Bit Depth: 16" and ffprobe reports "Video: png, rgba64be(pc)" (64 = 4 channels * 16 bits). I conclude it's a 16-bit image, and whatever other methods you were using to check for 16-bitness are invalid.
render doc
please don't report renderdoc bugs to me, i don't make renderdoc
Describe the bug When loading a PNG file stb incorrectly sees it as a 16bit image, when it is an 8bit SRGB file
To Reproduce Steps to reproduce the behavior:
using this call with an 8bit SRGB file exported from substance designer
if (stbi_is_16_bit(path.getFullPath().c_str()))
it returns true, yet renderDoc and a few other programs we have checked it with report it as 8bit format.
am i using this incorrectly?