WMF (.wmf)

Background

    • Microsoft WMF format.
    • Image file format.
    • Used by the Windows operating system and by Microsoft applications as a graphics resource format.
    • WMF is an acronym derived from Windows Metafile.
    • Binary format.
    • Stores vector graphics, raster graphics, and text.
    • Stores image data as either calls to the Windows graphical device interface (GDI), uncompressed Device Dependent Bitmaps, or uncompressed Device Independent Bitmaps.
    • Predecessor of the 32-bit EMF format.

Import & Export

  • Export["file.wmf",expr] exports arbitrary vector or raster graphics or typeset expressions to the WMF format.
  • Export["file.wmf",Graphics[] ] creates a WMF file representing a Wolfram Language Graphics object.
  • Since WMF supports vector graphics, fonts are not rasterized when exporting to WMF.
  • See the reference pages for full general information on Export.
  • ExportString supports the WMF format.

Import Elements

  • Data representation element:
  • "Graphics"exports arbitrary graphics to WMF
  • Export uses the "Graphics" element by default.

Examples

Basic Examples  (1)

Export 2D vector graphics to the WMF format:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)