17 Nov
2025
17 Nov
'25
2:49 p.m.
On Mon Nov 17 20:39:34 2025 +0000, Dmitry Timoshkov wrote:
On the other hand IWICBitmapFrameEncode::SetPixelFormat() sets the format to GUID_WICPixelFormat8bppIndexed, so it's unclear how the LZW compressor would get an image with bpp different from 8. While "color bits" is never defined, I think it's implied here that this is based on the size of the palette. The decompressed data is always 8 bits.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9486#note_122610