Using Image Encoders and Decoders in Managed GDI+
The System.Drawing namespace provides the Image and Bitmap classes for storing and manipulating images. By using image encoders in GDI+, you can write images from memory to disk. By using image decoders in GDI+, you can load images from disk into memory. An encoder translates the data in an Image or Bitmap object into a designated disk file format. A decoder translates the data in a disk file to the format required by the Image and Bitmap objects.
GDI+ has built-in encoders and decoders that support the following file types:
BMP
GIF
JPEG
PNG
TIFF
GDI+ also has built-in decoders that support the following file types:
WMF
EMF
ICON
The following topics discuss encoders and decoders in more detail:
In This Section
How to: List Installed Encoders
Describes how to list the encoders available on a computer.
How to: List Installed Decoders
Describes how to list the decoders available on a computer.
How to: Determine the Parameters Supported by an Encoder
Describes how to list the EncoderParameters supported by an encoder.
How to: Convert a BMP image to a PNG image
Describes how to save a image in a different image format.
How to: Set JPEG Compression Level
Describes how to change the quality level of an image.
Reference
Related Sections
.NET Desktop feedback