https://bugs.winehq.org/show_bug.cgi?id=20694
florian.will@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |florian.will@gmail.com
--- Comment #21 from florian.will@gmail.com --- Current status for Mozart 11 is that bmp, tif, jpg and png work. emf doesn't work (no file created), as gdiplus has no encoding function registered for that file type, there's only "decode_image_emf".
Exporting a gif file creates a 1-byte file (containing 0x3b ";"). The root cause appears to be that wine's windowscodecs implementation supports only the GUID_WICPixelFormat8bppIndexed pixel format for the GIF encoder, but the Mozart gdiplus bitmap is in PixelFormat1bppIndexed and the attempted conversion (by gdiplus) to PixelFormat8bppIndexed is not supported: "0024:fixme:gdiplus:GdipBitmapLockBits cannot read bitmap from 30101 to 30803".
So if anyone still needs gif export for some reason, the easiest way to get it to work might be adding the 1bppIndexed -> 8bppIndexed conversion in gdiplus/image.c convert_pixels().