Working with Images

No graphics library would be complete without the tools to work on images. GDI+ provides an abundance of capabilities for image manipulation. The following section illustrates some of these.

The Image Classes

There are two classes that you will work with when manipulating images. These are the Bitmap and the MetaFile classes. Both of these classes descend from Image, which is the abstract class providing functionality common to both.

The Bitmap class is used for manipulating raster-based images, which are images consisting of pixel data.

The Metafile class holds a recording of graphic rendering operations that get played back when it is drawn.

The following examples illustrate some of the Bitmap manipulations that you can ...

Get Delphi for .NET Developer’s Guide 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.