You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Huh, yeah, it looks like Preview doesn't like the version 4 headers.
But Gimp could write a 32-bit bmp that it liked, so our assertion that you need the version 4 headers to write a 32-bit bitmap isn't true, but I haven't looked further yet.
The example code I wrote for #11776 calls SDL_SaveBMP(), but macOS doesn't like the resulting file when you double-click it in the Finder:
GIMP on macOS opened it just fine.
Here's the actual file (zipped to make GitHub happy)...
framebuffer-bmp.zip
I thought it was the pixel format (RGBA8888), but if I export the file from GIMP like this...
...then macOS opens it just fine.
Notable output from the
file
command on the bmp that Preview doesn't like......vs the converted GIMP file...
This works with SDL_SaveBMP if I convert the file to SDL_PIXELFORMAT_RGB565 first, so it's not just SDL_SaveBMP is totally busted across the board...
The
file
info for that...The text was updated successfully, but these errors were encountered: