Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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:
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.
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Create images with generative AI - Training
Discover AI-powered image generators. Learn about image creation tools like Microsoft Image Creator. Understand their potential applications in the workplace and training settings and discover best practices for optimal results. Enhance your skills and transform your creative process with AI-powered image generators.