File Formats: Windows Metafile Formats (WMF and EMF) (original) (raw)
The Windows Metafile (WMF and EMF) formats are vector formats that may or may not also contain a raster image.
EMF/WMF Vector files can be read and written as raster images in the Imaging Pro toolkits. They can be read and written as vector images in the Document and Medical Imaging toolkits.
File constants associated with this file format are:
Constant | Read Support | Write Support | Description |
---|---|---|---|
Wmf | Yes | Yes | Windows Metafile. |
Emf | Yes | Yes | Windows Enhanced Metafile. |
When WMF and EMF files are rasterized, they are either 8 or 24 BPP.
Required DLL: Leadtools.Codecs.Wmf.dll. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platform Support
Extension | Module | Value | Win32 | Win64 | Net32 | Net64 | Linux | Android | Apple | UWP | MimeType | Friendly Name |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Wmf | WMF | 15 | ✔ | ✔ | ✔ | ✔ | image/x-wmf | Windows Metafile - WMF | ||||
Emf | EMF | 116 | ✔ | ✔ | ✔ | ✔ | image/x-emf | EMF - Windows Enhanced Metafile |
For a complete list for supported file formats, see Summary of All Supported File Formats.
For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.
NOTE: LEADTOOLS supports writing the EMF file format using the LEADTOOLS Document Writers. For more information on the LEADTOOLS Document Writers SDK, refer to Introduction.