Cant load bmp file. #1354
-
Hi, i am trying to load 1bit bmp file with the std_image lib, and it returns "process exited with code 0" int main(int argc, char* argv[]) { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
here is the bitmap grayscale.zip |
Beta Was this translation helpful? Give feedback.
-
You should only call (Your image is loading just fine. The error about the PNG signature is a stale message left over from when it checked if the file was a PNG before checking if it was a BMP.) |
Beta Was this translation helpful? Give feedback.
You should only call
stbi_failure_reason
whenpixels
isnull
.(Your image is loading just fine. The error about the PNG signature is a stale message left over from when it checked if the file was a PNG before checking if it was a BMP.)