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.
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 ...