Windows Metafile

(redirected from WMF file)

Windows Metafile

The native vector graphics file format in Windows. Windows Metafiles also can hold bitmaps and text. The original 16-bit format uses the .WMF file extension. The subsequent 32-bit format, which supports more sophisticated graphics functions, generates .EMF (Enhanced MetaFile) files.

Actual Drawing Commands
WMF and EMF files are made up of Windows drawing commands (GDI calls), which results in an efficient format that renders illustrations very quickly. Metafiles are also used by programs to hold data between sessions, and Windows uses it for temporary storage in the Clipboard.

Standard and Placeable Versions
The standard WMF file uses an 18-byte header followed by GDI command records. There are two additional WMF variations that place another header in front of the standard header. A Placeable Metafile uses a 22-byte header containing x-y coordinates for positioning the image on the page. A Clipboard Metafile uses an 8- or 16-byte header. In an EMF file, all header information, including Placeable and Clipboard data, is stored in the first GDI command record.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
Exploit.Win32.IMG-WMF.y belongs to a rare class of malicious programs: the object sent by email is not an executable file containing a worm but an image that contains an exploit for a WMF file handling vulnerability.
OMIGA's Features View lets users group the results of several different analyses on a single graphic that can be saved as a Windows EMF or WMF file. For example, groupings can be made of the results of restriction enzyme analyses, ORF predictions, and PCR primer predictions on a single page.
There are are some important operations that can be performed on a WMF image using Aspose.Imaging, such as converting WMF to PDF, converting WMF to Raster Format, converting WMF to Webp, cropping WMF File while converting to Raster Format and resize WMF File while converting to Raster Format.
• loading WMF file using Aspose.Imaging is showing incorrect results with compare to a 3rd party image viewer
Some important enhancements have been introduced in this release, such as, Process of loading WMF files and Aspose.Imaging drawing engine has been improved.
• Creating wmf files by calling Graphics methods (drawImage, drawLine, etc.)
The graphics filter allows for the display of DWG, DXF, GIF, JPEG, PCX, WMF files, among others.
The zero-day vulnerability related to Windows' WMF files, first reported on 27 December, 2005, is still unpatched by Microsoft and Trojan downloaders are seen to actively exploit the vulnerability, according to anti-virus and Internet security provider F-Secure.
As a precaution, F-Secure recommends administrators to block access to all WMF files at HTTP proxy and SMTP level and filter the following domains at corporate firewalls - toolbarbiz.biz, toolbarsite.biz, toolbartraff.biz, toolbarurl.biz, buytoolbar.biz, buytraff.biz, iframebiz.biz, iframecash.biz, iframesite.biz, iframetraff.biz, iframeurl.biz and freecat.biz.
I did witness some strange behaviour with WMF files. There seem to be a number of semi-incompatible flavours and it would accept some but not others.