nothings / stb

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

Image header parsing error #1451

Open Lester-1 opened 1 year ago

Lester-1 commented 1 year ago

One problem I encountered when using STB is that no matter what type of image is input, when running the stbi__load_main function, it will be recognized as JPEG

rygorous commented 1 year ago

"Recognized as JPEG" how?

Can you provide a reproducer and a more detailed example of what you consider the incorrect behavior?