Issue 67905 - Imported EMF image only shown as black box
Summary: Imported EMF image only shown as black box
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0.3
Hardware: All Windows, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2006-07-29 11:49 UTC by stadt
Modified: 2013-08-07 15:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Testfile to reproduce failing EMF import (826.25 KB, image/emf)
2006-07-31 15:54 UTC, stadt
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description stadt 2006-07-29 11:49:50 UTC
When I try to insert an EMF image via \insert\image\file ... I get only a black
layer, despite EMF is listed as importable format.

Pasting the image to the clipboard (e.g. by using XNView) and inserting via
ctrl.V   gives the desired result (image is shown in writer).

Tested only on Windows 2000, so I don't know if other OS are affected too.
Comment 1 stadt 2006-07-29 13:08:10 UTC
Same applies to WinXP (SP2) and to Draw (when using /file/open)

For 2.0.4 IMHO it would be sufficient to disable EMF as supported format.

Issue is confirmed by another user, see
Comment 2 michael.ruess 2006-07-31 12:24:28 UTC
I cannot reproduce the problem with my sample .emf's. Could you please attach
the one you tried to import into OO Writer/Draw?
I think, it is a special problem with this certain graphic. Thanks a lot!
Comment 3 stadt 2006-07-31 15:54:09 UTC
Created attachment 38152 [details]
Testfile to reproduce failing EMF import
Comment 4 stadt 2006-07-31 16:43:58 UTC
In the meanwhile I've tried to open the supplied testfile with different EMF
capable apps.

IExplorer works
Speedcommander works
Nero Cover Designer works
XNview works

OOoffice fails

Unfortunately I don't have more apps beeing able to read EMF (e.g. Photoshop
doesn't). But I guess testing more image viewers won't help here.
Comment 5 michael.ruess 2006-08-01 08:17:36 UTC
MRU->SJ: Importing the attached emf file will result in an all-black graphic
frame. Works fine in MS Word e.g.
Comment 6 lohmaier 2006-08-01 12:41:09 UTC
probably a duplicate of issue 56328
Comment 7 sven.jacobi 2006-08-16 16:43:54 UTC

(EMR_SETDIBITSTODEVICE meta action needs to be implemented into the emf filter)
Comment 8 Martin Hollmichel 2007-11-09 17:01:18 UTC
set target from 2.x to 3.x according