[Bug 20694] Mozart 10: cannot save gif jpg or tiff, png + bmp are empty, emf only partial.

WineHQ Bugzilla wine-bugs at winehq.org
Tue Jan 25 07:49:32 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=20694

florian.will at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian.will at gmail.com

--- Comment #21 from florian.will at 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().

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list