Closed ventsin closed 2 years ago
It’s just a bug on support of a specific BMP format. Would you please send me the bmp file to my email?
test.zip I don't know your address, so I uploaded the file here. If you need it via email let me know.
Fixed! New fix has been checked into branch develop-1.8
.
Thank you, it works great now!
I've been testing parts of the library and I consistently failed to load BMPs correctly, be it from memory or from the filesystem.
Both
open
andload
returntrue
, however the result is always a completely gray image!On that note, I want to ask @cnjinhao and @qPCR4vir what your thoughts are on using STB Image for loading routines instead of supporting formats directly? It should provide robust reading of images and since it's header-only, it would simplify nana building/installing immensely, since it wouldn't rely on
libpng
andlibjpg
directly.I wouldn't mind working on a PR but I'd like to know your thoughts before working on it.