[Bug 51834] New: EMF DC emits invalid EMF when calling StretchDiBits with info->bmiHeader.biSizeImage = 0
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Oct 3 14:02:17 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=51834
Bug ID: 51834
Summary: EMF DC emits invalid EMF when calling StretchDiBits
with info->bmiHeader.biSizeImage = 0
Product: Wine
Version: 6.18
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdi32
Assignee: wine-bugs at winehq.org
Reporter: jinoh.kang.kr at gmail.com
CC: jacek at codeweavers.com, zzhang at codeweavers.com
Distribution: ---
BITMAPINFOHEADER allows setting biSizeImage to zero when biCompression is
BI_RGB.
However, the Wine EMF DC does not handle this case and takes the biSizeImage
value as-is.
This results in an invalid Enhanced Metafile output.
--
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