11.6. System.Drawing.Imaging namespace

The System.Drawing.Imaging namespace provides imaging functionality based on advanced GDI+ functions. In this namespace we will find the Metafile class, used for recording and saving metafiles, the Encoder and Decoder classes, for working with images in different formats, and the PropertyItem class, for storing and retrieving metadata in image files.

Metafiles

Metafiles are used to record a sequence of graphics operations that later can be played back on any device supported by GDI+. A metafile consists of a header and information about the graphics operations. Metafiles can contain vector graphics, raster images, and text.

In GDI+, the enhanced Windows metafile image format (EMF+) is used, but the Metafile ...

Get A Programmer's Guide to .NET 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.