|
|
+1. **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.
|