WMF (.wmf)

As of Version 12.3, the "WMF" format is obsolete. Use other vector graphic formats, such as "SVG".
  • Export fully supports the WMF format.
  • Export to WMF is available on Windows versions of the Wolfram System.
  • Background & Context

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

    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 following reference pages for full general information:
    • Exportexport to a file
      CloudExportexport to a cloud object
      ExportStringexport to a string
      ExportByteArrayexport to a byte array

    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: