https://bugs.freedesktop.org/show_bug.cgi?id=87350

--- Comment #2 from V Stuart Foote <[email protected]> ---
Created attachment 110916
  --> https://bugs.freedesktop.org/attachment.cgi?id=110916&action=edit
complex WMF one PalletedAlpha one TrueColorAlpha

@Marcus,

Looking at the .wmf with ImageMagick's identify it shows type as PalletedAlpha

Do you have any control on how you generate your WMF? Also, ImageMagick or
GraphicsMagick morgify might allow transformation.

As example I've attached two rendering tests in WMF from DIA (the
render-test.dia from v 0.97.2 on Windows), one is generated using DIA's own WMF
code and results in a TrueColorAlpha. The other is generated using DIA's
embeded Cairo based code, which generates a PalletedAlpha WMF and that has
issues being opened in Draw or inserted into Draw, Writer or Impress.

The TrueColorAlpha formatted WMF seems to be handled in LibreOffice without
issue.  Of course there could be a different aspect than palleted  vs.
TrueColor formatting of the WMF, e.g. a drawing element extending beyond image
boundaries.

Point is, not all WMF are equal. And the proprietary Microsoft format has
changed over the years as have their DIB headers--device independent
bitmaps--(aka BMP) and with the LogicalColorSpace as defined by MS.

Unfortunately, with changes to .WMF image formats over the years (functional as
well as security issues) it is easy for things to get lost with LibreOffice's
import filters.

Challenge here is teasing out the details for the few devs with mastery of the
image filters to determine if this is just a corner case--or is something that
needs rework.

Stuart

-- 
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