Windows Metafile Formats (WMF and EMF)

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. 

It is possible to speed up the loading of large WMF or EMF files. For more information, refer to Using Filter Data to Speed up Loading Large Files.

File constants associated with this file format are:

Constant Read Support Write Support Description
FILE_WMF Yes Yes [15] Windows Metafile.
FILE_EMF Yes Yes [116] Windows Enhanced Metafile.

When WMF and EMF files are rasterized, they are either 8 or 24 BPP.

The following table indicates which objects LEADTOOLS can load and which objects it can save:

Object Load Save
Arc Supported Supported
Background color and mode Supported Supported
Chord Supported Supported
Circle Supported Supported
Color Supported Supported
Ellipse Supported Supported
HPolyBezier Supported Supported
Lines Supported Supported
Pie Supported Supported
PolyBezier Supported Supported
PolyDraw Supported Supported
Polygons Supported Supported
Polyline Supported Supported
Raster Supported Supported
Rectangle Supported Supported
Round Rectangle Restricted Support Restricted Support
Spline Supported Supported
Text Supported Supported
Text(Color and Font Type) Supported Supported
Vertex Supported Supported

Notes:

Required DLLs and Libraries

LFWMF

Related Formats

Platforms

Win32, x64.

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help