Encoder Class
An Encoder object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter.
For a list of all members of this type, see Encoder Members.
System.Object
System.Drawing.Imaging.Encoder
[Visual Basic] NotInheritable Public Class Encoder [C#] public sealed class Encoder [C++] public __gc __sealed class Encoder [JScript] public class Encoder
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
When you pass a parameter to an image encoder, the parameter is encapsulated in an EncoderParameter object. One of the private fields of the EncoderParameter object is a GUID that specifies the category of the parameter. The image encoders that are built into GDI+ receive parameters that belong to the following categories:
Requirements
Namespace: System.Drawing.Imaging
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Drawing (in System.Drawing.dll)