BitmapCodecInformation
BitmapCodecInformation
BitmapCodecInformation
BitmapCodecInformation
Class
Definition
Provides access to information about a decoder or encoder.
public : sealed class BitmapCodecInformation : IBitmapCodecInformationpublic sealed class BitmapCodecInformation : IBitmapCodecInformationPublic NotInheritable Class BitmapCodecInformation Implements IBitmapCodecInformation// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
CodecId CodecId CodecId CodecId
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 : PlatForm::Guid CodecId { get; }public Guid CodecId { get; }Public ReadOnly Property CodecId As Guid// You can use this property in JavaScript.
- Value
- PlatForm::Guid Guid Guid Guid
The codec unique identifier.
Remarks
The encoder and decoder of an image format are separate, and their codec IDs are distinct.
FileExtensions FileExtensions FileExtensions FileExtensions
A collection of all the file extensions supported by the decoder or encoder.
public : IVectorView<string> FileExtensions { get; }public IReadOnlyList<string> FileExtensions { get; }Public ReadOnly Property FileExtensions As IReadOnlyList<string>// You can use this property in JavaScript.
- Value
- IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>
The list of supported file extensions.
FriendlyName FriendlyName FriendlyName FriendlyName
The friendly name of the decoder or encoder.
public : PlatForm::String FriendlyName { get; }public string FriendlyName { get; }Public ReadOnly Property FriendlyName As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The friendly name of the codec.
MimeTypes MimeTypes MimeTypes MimeTypes
A collection of all the MIME/content types supported by the decoder or encoder. MIME type is synonymous with content type.
public : IVectorView<string> MimeTypes { get; }public IReadOnlyList<string> MimeTypes { get; }Public ReadOnly Property MimeTypes As IReadOnlyList<string>// You can use this property in JavaScript.
- Value
- IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>
The list of supported MIME/content types.