LoadImage (Win32 API) fails on GIMP produced BMP file
GIMP version: gimp-2.8.exe
Operating System: Windows 10
Package: [flatpak? Installer from gimp.org? If another installer, tell us where from]
Description of the bug
BMP export produces files that don't work with LoadImage (Win32) API.
See attachment containing 3 BMP files.
- Take large BMP (from ZIP) convert to indexed-color in GIMP. Export to 4-bit indexed BMP.
- Open the file in Microsoft Paint, and save it. Doing so produces a somewhat smaller BMP that works with LoadImage.
Expected result: LoadImage succeeds.
Actual result: LoadImage fails, returns 0, and GetLastError returns 0. (Maybe code for bad file?)