Windows Metafile

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Specifications)
Line 25: Line 25:
 
* [http://msdn.microsoft.com/en-us/library/cc230514.aspx Enhanced Metafile Format]
 
* [http://msdn.microsoft.com/en-us/library/cc230514.aspx Enhanced Metafile Format]
 
* [http://msdn.microsoft.com/en-us/library/cc230724.aspx Enhanced Metafile Format Plus Extensions]
 
* [http://msdn.microsoft.com/en-us/library/cc230724.aspx Enhanced Metafile Format Plus Extensions]
 +
 +
== Metaformat files ==
 +
 +
* [https://www.synalysis.net/Grammars/emf.grammar Synalysis grammar file for EMF] (for Hexinator / Synalize It!; [[Synalysis grammar file|more details]])
  
 
== Software ==
 
== Software ==

Revision as of 19:58, 25 January 2015

File Format
Name Windows Metafile
Ontology
Extension(s) .wmf, .emf, .wmz, .emz, .apm
PRONOM x-fmt/119, x-fmt/153, fmt/344, fmt/345

Windows Metafile (WMF) is a graphics file format used mainly by old Microsoft Windows applications. It stores a list of commands which, when executed, generate an image.

Windows has drivers to support WMF, allowing applications to either write to a WMF file, or draw on the screen, using the same API.

The newer versions of the format are known as Enhanced Metafile (EMF) and Enhanced Metafile Format Plus Extensions (EMF+).

The .wmz extension indicates a ZIP-compressed WMF file. The .emz extension is reportedly used for gzip-compressed EMF files.

Most WMF files begin with a 22-byte "Aldus Placeable Metafile" header, which supplies suggested placement and scaling information. Some (mainly older) WMF files lack this header.

Contents

Identification

WMF data (usually?) begins with the byte sequence 01 00 09 00 or 02 00 09 00. This sequence may appear at the beginning of a WMF file, but it is usually at offset 22, and the file begins with the Aldus Placeable Metafile signature of D7 1D C6 9A.

EMF files have " EMF" (with the leading space) at file offset 40.

Specifications

Metaformat files

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox