On Fri May 23 16:23:37 2025 +0000, Matteo Bruni wrote:
Out of curiosity, what happens with BMP?
It's just unsupported for BMP for some reason, there's a test in surface.c for it: ``` hr = D3DXGetImageInfoFromFileInMemory(bmp_2bpp, sizeof(bmp_2bpp), &info); ok(hr == D3DXERR_INVALIDDATA, "D3DXGetImageInfoFromFileInMemory returned %#lx, expected %#x\n", hr, D3DXERR_INVALIDDATA); ``` Which explains why we had all the other WIC indexed formats _except_ for 2bpp in our `wic_pixel_formats` table :) Seems odd to support 1bpp and 4bpp but not 2bpp, but :man_shrugging: