Questions tagged [.emf]

Enhanced Windows MetaFile format (EMF)

EMF (Enhanced MetaFile) is one of Microsoft Windows' "metafile" formats. Its contents are a representation of the primitive operations that Windows' GDI subsystem should use to draw a given object. Metafiles may contain vector graphics as well as bitmaps, and often contain both. They are supported natively by Windows at the GDI level, and in fact are typically created by GDI itself as an application "draws" in a specially-created device context.

Useful links:

63 questions
1
vote
0 answers

How to convert .EMF to .SVG file in c#

I have windows form application which already have emf files in database. Currently I am converting .emf to .png and display as image but I need to convert .emf to .svg file which I can display on web app. P.S. Conversion will be done in API side…
Jatin Dave
  • 734
  • 1
  • 7
  • 14
1
vote
1 answer

Distortion when ungrouping inserted EMF file into Powerpoint

Background: I am the developer of IguanaTex, a Powerpoint add-in to include LaTeX displays in Powerpoint. IguanaTex can generate vector graphics displays (Powerpoint Shapes, typically Freeforms) by inserting EMF files into a slide, ungrouping them,…
leilu
  • 367
  • 3
  • 10
1
vote
0 answers

Convert Bitmap to Metafile (.emf)

I have a bitmap(.bmp) file and I want to convert it into metafile(.emf) format. Currently I am using this code: Metafile metafile; using (MemoryStream stream = new MemoryStream()) using (Graphics rtfBoxGraphics =…
Shashi Jaiswal
  • 71
  • 1
  • 3
  • 10
1
vote
2 answers

devEMF output display problems in MS Word 2010 after Microsoft update

After 2-4 Microsoft updates on June, 12th the display of devEMF (an R printing device for EMF/EMF+ files) output is corrupted in MS Word 2010. The problem occurs on machines with the most recent Microsoft updates installed and does not where…
Ingo
  • 53
  • 6
1
vote
3 answers

Best software to convert EMF file to GDI commands?

I can't read the EMF binary file. When I hex-dump it, I still don't understand it. Is there any software to read GDI commands from an EMF file? Thanks.
emeraldhieu
  • 9,380
  • 19
  • 81
  • 139
1
vote
0 answers

How to set bounds Graphics when using Metafile?

In our application it's possible to create images in different fileformats, like PNG, BMP, JPEG etc. Now I'm currently investigating the possibility to create Metafile images (.emf). With our Charts I can get this to work, because we're using the…
Vincent Hogendoorn
  • 700
  • 1
  • 7
  • 23
1
vote
2 answers

How to correctly scale drawing for EMF using gdi+

My windows c++ program creates EMFs (Enhanced Metafile Format) to export to clipboard, word and excel. The following example code generates an EMF rectangle (width=height=25) that is only 12x12 while the canvas is 25x25 (note: screen resolution of…
Mark H
  • 11
  • 2
1
vote
0 answers

SPSS v22 export to .emf causes encoding issues in the exported graphic

I'm using SPSS for a research project and I want to export the graphs to a vector graphic format to keep them clean and zoomable. The export to .emf causes my local characters like ä,ü,ö (german localisation) to render as ü or ö. In another thread…
MisterG1
  • 46
  • 3
1
vote
1 answer

EMF quality diminishes when window is shrinked, but is good when window dimensions are high

I am creating desktop application using C++ and pure WinApi. I need to display image that was given to me as SVG. Since WinAPI supports only EMF files as vector format, I have used Inkscape to convert the file into EMF. My graphics design skills…
AlwaysLearningNewStuff
  • 2,939
  • 3
  • 31
  • 84
1
vote
0 answers

Generate vector EMF/WMF (Windows Metafile) clipboard content from Qt 4.5

We are moving a large codebase from GDI to QPainter. One thing we used to get on Windows easily was the EMF clipboard format, which enabled customers to manipulate their pasted output in other programs (like Office) in a vector format. It's easy for…
simong
  • 238
  • 3
  • 5
1
vote
1 answer

Is there a high resolution ERwin data model (.emf) viewer?

Our data modelers are using ERwin v.8 and I need usable physical data models from it, however, the output is terrible being in a .emf format. Viewing the images in a browser doesn't work as the text becomes too heavily pixelated when zooming to…
Air_Cooled_Nut
  • 129
  • 3
  • 5
  • 21
1
vote
1 answer

EMF figures with latex text from Python - Renderer error

I need to produce some figures from data, using python. It has to have Latex text in labels, legend and title, while output format must be .emf (Encapsulated Metafile, readable in M$ Word). from pylab import * from matplotlib import rc import…
1
vote
1 answer

Sending an EMF file to a specific printer / tray in WPF application

I've got a WPF application that needs to send pre-generated EMF files to a specified printer/tray. I don't want to show the PrintDialog; the actual printer/tray is configured before hand. I also don't need to actually view the EMF file either; but…
Jim B
  • 8,344
  • 10
  • 49
  • 77
0
votes
1 answer

Ecore SCA MetaModel

I am looking for an ecore diagram of SCA, I don't want to start from scratch. The only partial information I get is this diagram picture. http://wiki.eclipse.org/Image:SCAMM.jpg Thanks for any answers even if they are negatives ps : I'll try to…
Baptiste Gousset
  • 251
  • 2
  • 16
0
votes
1 answer

Exporting from an MSChart based app raising exceptions for vector formats

I'm trying to export an image of an MSChart. I have found the wonderful function [System.Windows.Forms.DataVisualization.Charting.Chart.SaveImage][1] However I'm having a few problems with the ImageFormat parameter. Specifically I wish the user…
Goz
  • 61,365
  • 24
  • 124
  • 204