Bug 68810 - VIEWING: WMF image doesn't show correctly
Summary: VIEWING: WMF image doesn't show correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Keywords: filter:doc
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
Reported: 2013-09-01 10:57 UTC by mattia.b89
Modified: 2019-02-17 11:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

doc file (47.00 KB, application/msword)
2013-09-01 10:57 UTC, mattia.b89
screenshot of libreoffice on linux (199.63 KB, image/png)
2013-09-01 10:59 UTC, mattia.b89
screenshot of libreoffice on xp (95.85 KB, image/png)
2013-09-01 10:59 UTC, mattia.b89
screenshot of word on xp (55.70 KB, image/png)
2013-09-01 11:01 UTC, mattia.b89
image's option shows it (213.92 KB, image/png)
2019-02-17 11:16 UTC, mattia.b89
exported PDF (66.64 KB, application/pdf)
2019-02-17 11:16 UTC, mattia.b89

Note You need to log in before you can comment on or make changes to this bug.
Description mattia.b89 2013-09-01 10:57:15 UTC
Created attachment 85002 [details]
doc file

libreoffice-4.1.1 on linux-x86_64 can't show some images correctly
and are replaced by black rectangles in a .doc file

with libreoffice- on windows xp-32 bit I can see some content but not the "true" image

with office word 2003 on windows xp-32 bit the image is shown (I hope at least) correctly

I attach the .doc file and three screenshots which show you what I have just said
Comment 1 mattia.b89 2013-09-01 10:59:04 UTC
Created attachment 85003 [details]
screenshot of libreoffice on linux
Comment 2 mattia.b89 2013-09-01 10:59:52 UTC
Created attachment 85005 [details]
screenshot of libreoffice on xp
Comment 3 mattia.b89 2013-09-01 11:01:53 UTC
Created attachment 85006 [details]
screenshot of word on xp
Comment 4 tommy27 2013-09-01 20:31:19 UTC
I see black rectangle with LibO 4.1.1 final under Win7 64bit

which format is that image? can you upload it separately?
how did you insert it in the .doc file? linked? embedded?
Comment 5 mattia.b89 2013-09-02 12:23:58 UTC
unfortunately I haven't created this doc. It's a university file, so I can't give you any further information, at least, which you tell me because I can't contact who created the doc

I know it's not the best way to report an issue but it's better than nothing....
Comment 6 tommy27 2013-09-07 12:38:09 UTC
same issue (black image) even with 4.2 alpha Sept.3 build.

treid to extract image from document and open in external sofwares...
it's a WMF file but the extracted version is all black...

it seems that it's corrupted by LibO not only uncorrectly showed
Comment 7 tommy27 2013-09-07 13:54:52 UTC
I think that you faced a WMF issue like the ones described in Bug 39327.

*** This bug has been marked as a duplicate of bug 39327 ***
Comment 8 Bartosz 2018-04-10 20:58:54 UTC
The problem is still exists in LibreOffice 5.4 and LibreOffice 6.1 master
Comment 9 mattia.b89 2019-02-17 11:15:01 UTC
Bug still here with,
 Build ID: 6.2.0-3
 CPU threads: 4; OS: Linux 4.20; UI render: default; VCL: gtk3; 
 Locale: it-IT (en_GB.UTF-8); UI-Language: en-GB
 Calc: threaded

Anyway, a tiny improvement happens:

1- if you double-click on the image (the black box) and go to "image" tab, there is the image's preview correctly rendered (except for the width/height ratio).
.screenshot attached below.

2- if you export the .doc file as PDF, you will have a table (the image itself is a table) but with black text on black background. Hence, if you select the table content you can read it!
.PDF attached below.
Comment 10 mattia.b89 2019-02-17 11:16:04 UTC
Created attachment 149344 [details]
image's option shows it
Comment 11 mattia.b89 2019-02-17 11:16:28 UTC
Created attachment 149345 [details]
exported PDF