[]
IWICBitmapCodecInfo
[Guid("E87A44C4-B76E-4c47-8B09-298EB12A2714")]
public class BitmapCodecInfo : ComponentInfo, IDisposable, IUnknown
Initializes a new instance of the BitmapCodecInfo class.
public BitmapCodecInfo(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Gets the color management version number the codec supports.
public string ColorManagementVersion { get; }
Gets the name of the device manufacture associated with the codec.
public string DeviceManufacturer { get; }
Gets a comma delimited list of device models associated with the codec.
public string DeviceModels { get; }
Gets a comma delimited list of the file name extensions associated with the codec.
public string FileExtensions { get; }
Gets a comma delimited sequence of mime types associated with the codec.
public string MimeTypes { get; }
Gets the pixel formats the codec supports.
public Guid[] PixelFormats { get; }
HRESULT IWICBitmapCodecInfo::GetColorManagementVersion([In] unsigned int cchColorManagementVersion,[In] void* wzColorManagementVersion,[Out] unsigned int* pcchActual)
public int GetColorManagementVersion(int cchColorManagementVersion, IntPtr colorManagementVersion)
cchColorManagementVersion
intcolorManagementVersion
System.IntPtrHRESULT IWICBitmapCodecInfo::GetContainerFormat([Out] GUID* pguidContainerFormat)
public Guid GetContainerFormat()
HRESULT IWICBitmapCodecInfo::GetDeviceManufacturer([In] unsigned int cchDeviceManufacturer,[In] void* wzDeviceManufacturer,[Out] unsigned int* pcchActual)
public int GetDeviceManufacturer(int cchDeviceManufacturer, IntPtr deviceManufacturer)
cchDeviceManufacturer
intdeviceManufacturer
System.IntPtrHRESULT IWICBitmapCodecInfo::GetDeviceModels([In] unsigned int cchDeviceModels,[In] void* wzDeviceModels,[Out] unsigned int* pcchActual)
public int GetDeviceModels(int cchDeviceModels, IntPtr deviceModels)
cchDeviceModels
intdeviceModels
System.IntPtrHRESULT IWICBitmapCodecInfo::GetFileExtensions([In] unsigned int cchFileExtensions,[In] void* wzFileExtensions,[Out] unsigned int* pcchActual)
public int GetFileExtensions(int cchFileExtensions, IntPtr fileExtensions)
cchFileExtensions
intfileExtensions
System.IntPtrHRESULT IWICBitmapCodecInfo::GetMimeTypes([In] unsigned int cchMimeTypes,[In] void* wzMimeTypes,[Out] unsigned int* pcchActual)
public int GetMimeTypes(int cchMimeTypes, IntPtr mimeTypes)
cchMimeTypes
intmimeTypes
System.IntPtrHRESULT IWICBitmapCodecInfo::GetPixelFormats([In] unsigned int cFormats,[In, Buffer] GUID* pguidPixelFormats,[Out] unsigned int* pcActual)
public int GetPixelFormats(int formats, Guid[] guidPixelFormatsRef)
formats
intguidPixelFormatsRef
System.Guid[]HRESULT IWICBitmapCodecInfo::DoesSupportAnimation([Out] BOOL* pfSupportAnimation)
public bool IsAnimationSupported()
HRESULT IWICBitmapCodecInfo::DoesSupportChromakey([Out] BOOL* pfSupportChromakey)
public bool IsChromakeySupported()
HRESULT IWICBitmapCodecInfo::DoesSupportLossless([Out] BOOL* pfSupportLossless)
public bool IsLosslessSupported()
HRESULT IWICBitmapCodecInfo::DoesSupportMultiframe([Out] BOOL* pfSupportMultiframe)
public bool IsMultiframeSupported()
HRESULT IWICBitmapCodecInfo::MatchesMimeType([In] const wchar_t* wzMimeType,[Out] BOOL* pfMatches)
public bool MatchesMimeType(string mimeType)
mimeType
stringPerforms an explicit conversion from System.IntPtr to BitmapCodecInfo.
public static explicit operator BitmapCodecInfo(IntPtr nativePointer)
nativePointer
System.IntPtr