Re: [PATCH v2 0/3] MR8056: d3dx9: Properly decode sub 8bpp indexed images.
28 May
2025
28 May
'25
12:09 p.m.
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: -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8056#note_104797
201
Age (days ago)
201
Last active (days ago)
0 comments
1 participants
participants (1)
-
Connor McAdams (@cmcadams)