Windows Metafile

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Graphics |extensions={{ext|wmf}}<br>{{ext|emf}} }} '''Windows Metafile''' ('''WMF''') is a graphics file format used mainly by old ...")
 
(Software)
(23 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|wmf}}<br>{{ext|emf}}
+
|extensions={{ext|wmf}}, {{ext|wmz}}, {{ext|apm}}
 +
|mimetypes={{mimetype|image/wmf}}
 +
|pronom={{PRONOM|x-fmt/119}}
 +
|kaitai struct=wmf
 +
|released=1990
 
}}
 
}}
'''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.
+
:''Not to be confused with [[Windows Media Metafile]].''
 +
:''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 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.
 +
 
 +
== Identification ==
 +
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}}.
  
 
== 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/dd145202%28v=VS.85%29.aspx Microsoft Docs: Windows-Format Metafiles]
 +
 
 +
== 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/test.wmf
 +
 
 +
== See also ==
 +
* [[Enhanced Metafile]]
 +
* [[Segmented Hypergraphics]]
 +
 
 +
== Links ==
 +
* [[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
  
== External Links ==
 
* [[Wikipedia:Windows Metafile]]
 
 
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]
 +
[[Category:Windows]]

Revision as of 17:07, 26 May 2020

File Format
Name Windows Metafile
Ontology
Extension(s) .wmf, .wmz, .apm
MIME Type(s) image/wmf
PRONOM x-fmt/119
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