Files
docs-desktop/dotnet-desktop-guide/framework/winforms/advanced/using-image-encoders-and-decoders-in-managed-gdi.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

2.4 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
Using Image Encoders and Decoders in Managed GDI+ 03/30/2017
image encoders [Windows Forms], using
image decoders [Windows Forms], using
0e838ea1-4e7e-4334-b882-ab25df607b8b

Using Image Encoders and Decoders in Managed GDI+

The xref:System.Drawing namespace provides the xref:System.Drawing.Image and xref:System.Drawing.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 xref:System.Drawing.Image or xref:System.Drawing.Bitmap object into a designated disk file format. A decoder translates the data in a disk file to the format required by the xref:System.Drawing.Image and xref:System.Drawing.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 xref:System.Drawing.Imaging.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

xref:System.Drawing.Image

xref:System.Drawing.Bitmap

xref:System.Drawing.Imaging.ImageCodecInfo

xref:System.Drawing.Imaging.EncoderParameter

xref:System.Drawing.Imaging.Encoder

About GDI+ Managed Code

Images, Bitmaps, and Metafiles