Windows Metafile

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Deleted things that were moved to the Enhanced Metafile article)
(Software)
(8 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
|mimetypes={{mimetype|image/wmf}}
 
|mimetypes={{mimetype|image/wmf}}
 
|pronom={{PRONOM|x-fmt/119}}
 
|pronom={{PRONOM|x-fmt/119}}
 +
|kaitai struct=wmf
 
|released=1990
 
|released=1990
 
}}
 
}}
 +
:''Not to be confused with [[Windows Media Metafile]].''
 
:''For EMF, see [[Enhanced Metafile]].''
 
:''For EMF, see [[Enhanced Metafile]].''
  
Line 13: Line 15:
 
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 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 indicates a [[ZIP]]-compressed WMF file.
+
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.
 
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.
Line 21: Line 23:
  
 
== Specifications ==
 
== Specifications ==
* [http://msdn.microsoft.com/en-us/library/cc215212.aspx Windows Metafile Format Specification]
+
* [https://msdn.microsoft.com/en-us/library/cc250370.aspx [MS-WMF]: 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 ==
 
== Software ==
Line 28: Line 31:
 
* [[Scribus]]
 
* [[Scribus]]
 
* [[Konvertor]]
 
* [[Konvertor]]
* [http://wvware.sourceforge.net/libwmf.html libwmf]
 
 
* [[XnView]]
 
* [[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 ==
 
== Sample files ==
 
* 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/
 +
* https://telparia.com/fileFormatSamples/image/test.wmf
  
 
== See also ==
 
== See also ==
Line 47: Line 55:
  
 
[[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