Windows Metafile

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Sample files)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|wmf}}, {{ext|emf}}, {{ext|wmz}}, {{ext|emz}}
+
|extensions={{ext|wmf}}, {{ext|emf}}, {{ext|wmz}}, {{ext|emz}}, {{ext|apm}}
|pronom={{PRONOM|fmt/345}}, others
+
|pronom={{PRONOM|x-fmt/119}}, {{PRONOM|x-fmt/153}}, {{PRONOM|fmt/344}}, {{PRONOM|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 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.
Line 13: Line 13:
 
The '''.wmz''' extension indicates a [[ZIP]]-compressed WMF file. The '''.emz''' extension is reportedly used for [[gzip]]-compressed EMF files.
 
The '''.wmz''' extension indicates a [[ZIP]]-compressed WMF file. The '''.emz''' extension is reportedly used for [[gzip]]-compressed EMF files.
  
== Identifiers ==
+
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.
{| class="wikitable"
+
 
! Format
+
== Identification ==
! PRONOM ID
+
WMF data (usually?) begins with the byte sequence <code>01 00 09 00</code> or <code>02 00 09 00</code>. 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 <code>D7 1D C6 9A</code>.
|-
+
 
|WMF || {{PRONOM|x-fmt/119}}
+
EMF files have "<code>&nbsp;EMF</code>" (with the leading space) at file offset 40.
|-
+
|EMF 1.0 || {{PRONOM|x-fmt/153}}
+
|-
+
|EMF 2.0 || {{PRONOM|fmt/344}}
+
|-
+
|EMF 3.0 || {{PRONOM|fmt/345}}
+
|}
+
  
 
== Specifications ==
 
== Specifications ==
Line 40: Line 33:
 
* http://cd.textfiles.com/10000gp2/COLORWMF/
 
* http://cd.textfiles.com/10000gp2/COLORWMF/
 
* http://cd.textfiles.com/cdreview/cdreview66/MULTIM/MEDI8OR/CLIPART/PICTURES/
 
* http://cd.textfiles.com/cdreview/cdreview66/MULTIM/MEDI8OR/CLIPART/PICTURES/
 
== See also ==
 
* [[Aldus Placeable Metafile]]
 
  
 
== Links ==
 
== Links ==
 
* [[Wikipedia:Windows Metafile|Wikipedia article]]
 
* [[Wikipedia:Windows Metafile|Wikipedia article]]
 
* {{EGFF|wmf|Microsoft Windows Metafile File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]].
 
* {{EGFF|wmf|Microsoft Windows Metafile File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]].
 +
* [http://support.microsoft.com/kb/66949 Microsoft support: Windows Metafile Functions &amp; Aldus Placeable Metafiles]
 +
* [http://msdn.microsoft.com/en-us/library/windows/desktop/ms534075%28v=vs.85%29.aspx MSDN: WmfPlaceableFileHeader structure]
 +
* http://wvware.sourceforge.net/caolan/ora-wmf.html
  
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]

Revision as of 14:05, 28 December 2014

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

 [hide

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

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox