O'Reilly logo

Delphi for .NET Developer’s Guide by Xavier Pacheco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required