name: stb_image Doesn‘t Load Specific Image Correctly about: if an image displays wrong in your program, and you’ve verified stb_image is the problem title: '' labels: 1 stb_image assignees: ''
Confirm that, after loading the image with stbi_load, you've immediately written it out with stbi_write_png or similar, and that version of the image is wrong. If it displays wrong in a program you're writing, it could be your display code. For example, people writing OpenGL programs frequently do not upload or display the image correctly and blame stb_image for it.
Provide an image that does not load correctly using stb_image so we can reproduce the problem.
Provide an image or description of what part of the image is incorrect and how so we can be sure we've reproduced the problem correctly.