Skip to main content
Service phase: Beta

This service is still in development. Give us your feedback.

Format

Microsoft Windows Enhanced Metafile

Summary

Name
Microsoft Windows Enhanced Metafile
Version
2.0
Identifiers
  • PUID: fmt/344
  • MIME: image/emf
Format type
Image (Vector)
Description
The Enhanced Metafile format is a 32-bit format that can contain both vector information and bitmap information. This format contains extended features over the Windows Metafile Format, including built-in scaling information, and improvements in color palettes and device independence.
Format encoding
Text
File extensions
emf
Submitted by
Georgia Tech Research Institute / Georgia Tech Research Institute

Relationships

Is previous version of
Is subsequent version of

Internal signatures

Microsoft Windows Enhanced Metafile 2.0 (Variation 1)

Description
Record Type EMR_HEADER (00000001h); Record Size (4 bytes) 100 decimal; Bounds (16 bytes); Frame (16 bytes); signature (“EMF “; Version (00010000h); size of the metafile in bytes (4 bytes); number of records in the metafile (4 bytes); number of handles (2 bytes); reserved (2 bytes); nDescription--number of characters in the Description (32-bit integer) zero ; offDescription—offset from the beginning of this record to the beginning of the description (32-bit integer); number of entries in the palette (4 bytes); Device Size in pixels (8 bytes); device size in millimeters (8 bytes); cbPixelFormat—size of the PixelFormatDescriptor (4 bytes); offPixelformat—offset to the PixelFormatDescriptor (4 bytes) zero
Provenance
Signature identified by Georgia Tech Research Institute

Byte sequences

Min Frag Length
Absolute from BOF
Offset
0
Max offset
None
Byte Sequence
0100000064000000{32}20454D4600000100{12}00000000{28}00000000
Endianness
None

Microsoft Windows Enhanced Metafile 2.0 (Variation 2)

Description
Record Type EMR_HEADER (00000001h); Record Size (4 bytes) >100; Bounds (16 bytes); Frame (16 bytes); signature (“EMF “; Version (00010000h); size of the metafile in bytes (4 bytes); number of records in the metafile (4 bytes); number of handles (2 bytes); reserved (2 bytes); nDescription--number of characters in the Description (32-bit integer); offDescription—offset from the beginning of this record to the beginning of the description (32-bit integer) 100
Provenance
Signature identified by Georgia Tech Research Institute

Byte sequences

Min Frag Length
Absolute from BOF
Offset
0
Max offset
None
Byte Sequence
01000000{36}20454D4600000100{16}64000000
Endianness
None

Microsoft Windows Enhanced Metafile 2.0 (Variation 3)

Description
Record Type EMR_HEADER (00000001h); Record Size (4 bytes) >100; Bounds (16 bytes); Frame (16 bytes); signature (“EMF “; Version (00010000h); size of the metafile in bytes (4 bytes); number of records in the metafile (4 bytes); number of handles (2 bytes); reserved (2 bytes); nDescription--number of characters in the Description (32-bit integer); offDescription—offset from the beginning of this record to the beginning of the description (32-bit integer); number of entries in the palette (4 bytes); Device Size in pixels (8 bytes); device size in millimeters (8 bytes); cbPixelFormat—size of the PixelFormatDescriptor (4 bytes); offPixelformat—offset to the PixelFormatDescriptor (4 bytes) 100
Provenance
Signature identified by Georgia Tech Research Institute

Byte sequences

Min Frag Length
Absolute from BOF
Offset
0
Max offset
None
Byte Sequence
01000000{36}20454D4600000100{44}64000000
Endianness
None

Changelog

  • V86

    Release date
    27 July 2016
    • Updated

      Microsoft Windows Enhanced Metafile 2.0: Adjusted MIME type from deprecated image/x-emf to image/emf, added description.

  • V51

    Release date
    15 July 2011
    • Added format

      Microsoft Windows Enhanced Metafile 2.0: Outline entry added. Submission from Georgia Tech Research Institute, USA.

    • Added signature

      Microsoft Windows Enhanced Metafile 2.0: Signature submitted by Georgia Tech Research Institute, USA.