What is the EMZ file format?
Files with the .emz extension contain vector graphics stored in the .EMF format (Windows Enhanced Metafile), compressed with the GZIP algorithm. The format stores a device-independent representation of an image - each file contains sequential GDI drawing records that are parsed and executed on the target device to render the graphic.
The underlying .emf standard was introduced with Windows NT 3.1 in 1993 as a 32-bit extension of .WMF (Windows Metafile). The GZIP-compressed .emz variant emerged in the late 1990s through Microsoft Office and Visio, which use it to embed compact vector graphics in documents and templates. Specification details are published by Microsoft as MS-EMF on its Open Specifications site. An equivalent compressed format exists for the older metafile type: .WMZ applies the same GZIP compression to .wmf files.
.emz files start with the GZIP magic bytes 1F 8B at offset 0; decompressing with any GZIP-capable tool yields a plain .emf file. Because EMF records describe output in device-independent logical units, .emz files scale without quality loss and can faithfully describe print output - including use as the basis for printer graphic drivers.
Security & safety
RISK: LOWEMZ files contain drawing commands, not executable code or macros. The realistic risk is parser exploits: Windows metafile rendering has a CVE history (the WMF flaw of 2005-2006, periodic GDI/EMF parsing bugs since, e.g. CVE-2020-1096-class GDI issues), so keep Windows and Office patched and be wary of unsolicited attachments. An image001.emz in a normal business email is almost always a harmless Outlook artifact.
Format details
in a nutshellPrograms that open EMZ files
Technical details
deep spec| Container encoding | GZIP (RFC 1952) compressed binary |
| Magic bytes | `1F 8B` (GZIP signature) at file offset 0 |
| Decompressed payload | Standard EMF (Enhanced Metafile) binary file |
| EMF payload signature | DWORD `0x00000001` at payload offset 0; ASCII ` EMF` (20 45 4D 46) at payload offset 40 of the EMF header |
| GDI record structure | Sequential variable-length EMR_* records, each prefixed with a 4-byte type and 4-byte size field |
| Coordinate system | Device-independent logical units; frame extents stored in 0.01 mm units within the EMF header |
| Color support | Up to 32-bit ARGB; alpha transparency available via embedded EMF+ records |
| MIME type | `image/x-emz` (unofficial); GZIP container recognized as `application/gzip` |
| Typical compression ratio | 60-80 % size reduction compared to the equivalent uncompressed `.emf` file |
| Scalability | Fully resolution-independent vector; renders at any target DPI without rasterization loss |
| EMF+ extension | Dual-mode files may embed EMF+ records (GDI+ calls) alongside legacy GDI records for anti-aliasing and alpha blending |
| Predecessor relationship | `.emz` is the compressed form of `.emf`, which itself succeeded 16-bit `.wmf`; mirrors `.wmz` (GZIP-compressed `.wmf`) |
| Cross-platform support | Native GDI/GDI+ rendering on Windows; cross-platform via LibreOffice or Inkscape after GZIP decompression |
| Office clip art use | Primary distribution format for Microsoft Office 2003-2010 clip art collections |
| Printer output fidelity | EMF records map directly to GDI print calls, allowing `.emz` files to describe full-resolution printer output |
| Unicode text records | Supports `EMR_EXTTEXTOUTW` records for Unicode text rendered at the target device resolution |
| Released | Late 1990s (Office/Visio era); EMF itself introduced with Windows NT 3.1, 1993; EMF spec published as MS-EMF |
| Open standard | Yes · royalty-free |
| Specification | learn.microsoft.com |
EMZ conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about EMZ files.