Share via


BitmapCodecInformation.CodecId Property

Definition

The unique identifier of the decoder or encoder. Methods like BitmapDecoder.CreateAsync and BitmapEncoder.CreateAsync use the codec identifier to determine which codec to create.

public:
 property Platform::Guid CodecId { Platform::Guid get(); };
winrt::guid CodecId();
public Guid CodecId { get; }
var guid = bitmapCodecInformation.codecId;
Public ReadOnly Property CodecId As Guid

Property Value

Guid

Platform::Guid

winrt::guid

The codec unique identifier.

Remarks

The encoder and decoder of an image format are separate, and their codec IDs are distinct.

Applies to

See also