Windows Metafile

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(PRONOM)
(Wikidata)
(23 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|wmf}} {{ext|emf}}<br>{{ext|wmz}} {{ext|emz}}
+
|extensions={{ext|wmf}}, {{ext|wmz}}, {{ext|apm}}
|pronom={{PRONOM|fmt/345}}, others
+
|mimetypes={{mimetype|image/wmf}}
 +
|pronom={{PRONOM|x-fmt/119}}
 +
|kaitai struct=wmf
 +
|released=1990
 +
|wikidata={{wikidata|Q1072083}}
 
}}
 
}}
== Overview ==
+
:''Not to be confused with [[Windows Media Metafile]].''
'''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.
+
:''For EMF, see [[Enhanced Metafile]].''
  
Windows has drivers to support WMF, allowing applications to either write to a WMF file, or draw on the screen, using the same API.
+
'''Windows Metafile''' ('''WMF''') is a vector graphics format native to Microsoft Windows 3.x. It stores a list of commands which, when executed, generate an image.
  
The newer versions of the format are known as '''Enhanced Metafile''' ('''EMF''') and '''Enhanced Metafile Format Plus Extensions''' ('''EMF+''').
+
The term ''Windows Metafile'' usually refers specifically to WMF format, though it can also be an umbrella term that includes the successor format, [[Enhanced Metafile]] (EMF).
  
Some applications apparently use WMF files that are [[gzip]]-compressed, and have a file extension of .wmz or .emz.
+
The '''.wmz''' extension reportedly indicates a [[ZIP]]-compressed WMF file, but the only .wmz files we've seen are actually [[gzip]]-compressed.
  
== 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.
* WMF: PRONOM:{{PRONOM|x-fmt/119}}
+
 
* EMF 1.0: PRONOM:{{PRONOM|x-fmt/153}}
+
== Identification ==
* EMF 2.0: PRONOM:{{PRONOM|fmt/344}}
+
WMF data (usually?) begins with the byte sequence {{magic|01 00 09 00}} or {{magic|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 {{magic|D7 CD C6 9A}}.
* EMF 3.0: PRONOM:{{PRONOM|fmt/345}}
+
  
 
== Specifications ==
 
== Specifications ==
* [http://msdn.microsoft.com/en-us/library/cc215212.aspx Windows Metafile Format Specification]
+
* [https://msdn.microsoft.com/en-us/library/cc250370.aspx &#x5b;MS-WMF&#x5d;: Windows Metafile Format] - Current version
* [http://msdn.microsoft.com/en-us/library/dd145202%28v=VS.85%29.aspx Windows-Format Metafiles]
+
* [https://www.loc.gov/preservation/digital/formats/digformatspecs/WindowsMetafileFormat(wmf)Specification.pdf Windows Metafile Format (wmf) Specification] - Unknown version, 2007
* [http://msdn.microsoft.com/en-us/library/cc230514.aspx Enhanced Metafile Format]
+
* [http://msdn.microsoft.com/en-us/library/dd145202%28v=VS.85%29.aspx Microsoft Docs: Windows-Format Metafiles]
* [http://msdn.microsoft.com/en-us/library/cc230724.aspx Enhanced Metafile Format Plus Extensions]
+
  
== External Links ==
+
== Software ==
 +
* [http://inkscape.org/ Inkscape]
 +
* [[Scribus]]
 +
* [[Konvertor]]
 +
* [[XnView]]
 +
* [[ImageMagick]]
 +
* [https://sourceforge.net/projects/libuemf/ libUEMF]
 +
* [http://wvware.sourceforge.net/libwmf.html libwmf]
 +
* [https://sk1project.net/modules.php?name=Products&product=uniconvertor UniConvertor]
 +
* [http://snisurset.net/code/abydos/ abydos]
 +
 
 +
== Sample files ==
 +
* http://cd.textfiles.com/10000gp2/COLORWMF/
 +
* http://cd.textfiles.com/cdreview/cdreview66/MULTIM/MEDI8OR/CLIPART/PICTURES/
 +
* https://telparia.com/fileFormatSamples/image/wmf/
 +
 
 +
== See also ==
 +
* [[Enhanced Metafile]]
 +
* [[Segmented Hypergraphics]]
 +
 
 +
== 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]].
 +
* [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]]
 +
[[Category:Windows]]

Revision as of 13:44, 19 October 2021

File Format
Name Windows Metafile
Ontology
Extension(s) .wmf, .wmz, .apm
MIME Type(s) image/wmf
PRONOM x-fmt/119
Wikidata ID Q1072083
Kaitai Struct Spec wmf.ksy
Released 1990
Not to be confused with Windows Media Metafile.
For EMF, see Enhanced Metafile.

Windows Metafile (WMF) is a vector graphics format native to Microsoft Windows 3.x. It stores a list of commands which, when executed, generate an image.

The term Windows Metafile usually refers specifically to WMF format, though it can also be an umbrella term that includes the successor format, Enhanced Metafile (EMF).

The .wmz extension reportedly indicates a ZIP-compressed WMF file, but the only .wmz files we've seen are actually gzip-compressed.

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 CD C6 9A.

Specifications

Software

Sample files

See also

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox