Chapter 16. Metafile

Applications often need to exchange graphics data with each other, which requires that graphics data be put into a file format. The Windows bitmap file format is good only for raster data exchange. The 16-bit Windows metafile format and the 32-bit Windows enhanced metafile format are graphics file formats designed to support both bitmap and vector graphics data. The Windows metafile and enhanced metafile are widely used in clip art libraries, clipboard, data exchange between the OLE server and the client, and the Windows printer spooler.

This chapter will discuss the two GDI metafile file formats, how to create meta files, how to use metafiles, and how to decode metafiles.

METAFILE BASICS

Different graphics applications have ...

Get Windows Graphics Programming Win32 GDI and DirectDraw® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.