https://bugs.documentfoundation.org/show_bug.cgi?id=91017

--- Comment #10 from Armin Le Grand <[email protected]> ---
Found that indeed for EMR_ALPHABLEND the MS docu at
https://msdn.microsoft.com/en-us/library/cc230613.aspx defines alpha
possibilities for the to-be-loaded bitmap which the implementation of
EMR_ALPHABLEND does not support. It creates a temp file to be able to use
ReadDIB which itself is not capable of reading alpha.
This means that the whole old patch is not complete and only works when
BLENDFUNCTION AlphaFormat is 0x00 and SrcConstantAlpha is 0xff (which means to
copy the bitmap).
I checked with the bugdoc and it contains alpha data which is not read. Adding
stuff to read it is not easy (best chance is to create a temp file to use
ReadDIBV5 I would guess).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to