Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nothings/stb
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Barrett committed Nov 9, 2024
2 parents 40adb99 + 0dd01c2 commit 5c20573
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

---

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.
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 also wrong.** If it is correct when written out, the problem is not in stb_image. If it displays wrong in a program you're writing, it's probably your display code. For example, people writing OpenGL programs frequently do not upload or display the image correctly and assume stb_image is at fault even though writing out the image demonstrates that it loads correctly.

2. *Provide an image that does not load correctly using stb_image* so we can reproduce the problem.

Expand Down

0 comments on commit 5c20573

Please sign in to comment.