<PackageReference Include="System.Drawing.Common" Version="8.0.0-preview.4.23259.4" />

Encoder

public sealed class Encoder
An Encoder object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter.
using System.Runtime.CompilerServices; namespace System.Drawing.Imaging { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class Encoder { public static readonly Encoder ChrominanceTable; public static readonly Encoder ColorDepth; public static readonly Encoder ColorSpace; public static readonly Encoder Compression; public static readonly Encoder ImageItems; public static readonly Encoder LuminanceTable; public static readonly Encoder Quality; public static readonly Encoder RenderMethod; public static readonly Encoder SaveAsCmyk; public static readonly Encoder SaveFlag; public static readonly Encoder ScanMethod; public static readonly Encoder Transformation; public static readonly Encoder Version; public Guid Guid { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public Encoder(Guid guid) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }