Improve this doc

WIC API

This page is automatically generated from the assembly documentation.

It provides links between managed types and methods in the SharpDX.Direct2D1 assembly and the original documentation of the WIC API on MSDN.

The Windows Imaging Component (WIC) is an extensible platform that provides low-level API for digital images.

Enumerations

Managed Native
BIMIptcDigestProperties WIC8BIMIptcDigestProperties<p>Specifies the identifiers of the metadata items in an 8BIM IPTC digest metadata block.</p>
BIMIptcProperties WIC8BIMIptcProperties<p>Specifies the identifiers of the metadata items in an 8BIM IPTC block.</p>
BIMResolutionInfoProperties WIC8BIMResolutionInfoProperties<p>Specifies the identifiers of the metadata items in an 8BIMResolutionInfo block.</p>
BitmapAlphaChannelOption WICBitmapAlphaChannelOption<p>Specifies the desired alpha channel usage.</p>
BitmapCreateCacheOption WICBitmapCreateCacheOption<p>Specifies the desired cache usage.</p>
BitmapDecoderCapabilities WICBitmapDecoderCapabilities<p>Specifies the capabilities of the decoder.</p>
BitmapDitherType WICBitmapDitherType<p>Specifies the type of dither algorithm to apply when converting between image formats.</p>
BitmapInterpolationMode WICBitmapInterpolationMode<p>Specifies the sampling or filtering mode to use when scaling an image.</p>
BitmapLockFlags WICBitmapLockFlags<p>Specifies access to an .</p>
BitmapPaletteType WICBitmapPaletteType<p>Specifies the type of palette used for an indexed image format.</p>
BitmapTransformOptions WICBitmapTransformOptions<p>Specifies the flip and rotation transforms.</p>
ColorContextType WICColorContextType<p>Specifies the color context types.</p>
ComponentEnumerateOptions WICComponentEnumerateOptions<p>Specifies component enumeration options.</p>
ComponentSigning WICComponentSigning<p>Specifies the component signing status.</p>
ComponentType WICComponentType<p>Specifies the type of Windows Imaging Component (WIC) component.</p>
DdsAlphaMode WICDdsAlphaMode<p>Specifies the the meaning of pixel color component values contained in the DDS image.</p>
DdsDimension WICDdsDimension<p>Specifies the dimension type of the data contained in DDS image.</p>
DecodeOptions WICDecodeOptions<p>Specifies decode options.</p>
GifApplicationExtensionProperties WICGifApplicationExtensionProperties<p>Specifies the application extension metadata properties for a Graphics Interchange Format (GIF) image.</p>
GifCommentExtensionProperties WICGifCommentExtensionProperties<p>Specifies the comment extension metadata properties for a Graphics Interchange Format (GIF) image.</p>
GifGraphicControlExtensionProperties WICGifGraphicControlExtensionProperties<p>Specifies the graphic control extension metadata properties that define the transitions between each frame animation for Graphics Interchange Format (GIF) images.</p>
GifImageDescriptorProperties WICGifImageDescriptorProperties<p>Specifies the image descriptor metadata properties for Graphics Interchange Format (GIF) frames.</p>
GifLogicalScreenDescriptorProperties WICGifLogicalScreenDescriptorProperties<p>Specifies the logical screen descriptor properties for Graphics Interchange Format (GIF) metadata.</p>
JpegChrominanceProperties WICJpegChrominanceProperties<p>Specifies the JPEG chrominance table property.</p>
JpegCommentProperties WICJpegCommentProperties<p>Specifies the JPEG comment properties.</p>
JpegIndexingOptions WICJpegIndexingOptions<p>Specifies the options for indexing a JPEG image.</p>
JpegLuminanceProperties WICJpegLuminanceProperties<p>Specifies the JPEG luminance table property.</p>
JpegScanType WICJpegScanType<p>Specifies the memory layout of pixel data in a JPEG image scan.</p>
JpegTransferMatrix WICJpegTransferMatrix<p>Specifies conversion matrix from Y’Cb’Cr’ to R’G’B’.</p>
JpegYCrCbSubsamplingOption WICJpegYCrCbSubsamplingOption<p>Specifies the JPEG YCrCB subsampling options.</p>
NamedWhitePoint WICNamedWhitePoint<p>Specifies named white balances for raw images.</p>
PixelFormatNumericRepresentation WICPixelFormatNumericRepresentation<p>No documentation.</p>
PlanarOptions WICPlanarOptions<p>Specifies additional options to an implementation.</p>
PngBkgdProperties WICPngBkgdProperties<p>Specifies the Portable Network Graphics (PNG) background (bKGD) chunk metadata properties.</p>
PngChrmProperties WICPngChrmProperties<p>Specifies the Portable Network Graphics (PNG) cHRM chunk metadata properties for CIE XYZ chromaticity.</p>
PngFilterOption WICPngFilterOption<p>Specifies the Portable Network Graphics (PNG) filters available for compression optimization.</p>
PngGamaProperties WICPngGamaProperties<p>Specifies the Portable Network Graphics (PNG) gAMA chunk metadata properties.</p>
PngHistProperties WICPngHistProperties<p>Specifies the Portable Network Graphics (PNG) hIST chunk metadata properties.</p>
PngIccpProperties WICPngIccpProperties<p>Specifies the Portable Network Graphics (PNG) iCCP chunk metadata properties.</p>
PngItxtProperties WICPngItxtProperties<p>Specifies the Portable Network Graphics (PNG) iTXT chunk metadata properties.</p>
PngSrgbProperties WICPngSrgbProperties<p>Specifies the Portable Network Graphics (PNG) sRGB chunk metadata properties.</p>
PngTimeProperties WICPngTimeProperties<p>Specifies the Portable Network Graphics (PNG) tIME chunk metadata properties.</p>
ProgressNotification WICProgressNotification<p>Specifies when the progress notification callback should be called.</p>
ProgressOperation WICProgressOperation<p>Specifies the progress operations to receive notifications for.</p>
RawCapabilities WICRawCapabilities<p>Specifies the capability support of a raw image.</p>
RawParameterSet WICRawParameterSet<p>Specifies the parameter set used by a raw codec.</p>
RawRenderMode WICRawRenderMode<p>Specifies the render intent of the next CopyPixels call.</p>
RawRotationCapabilities WICRawRotationCapabilities<p>Specifies the rotation capabilities of the codec.</p>
SectionAccessLevel WICSectionAccessLevel<p>Specifies the access level of a Windows Graphics Device Interface (GDI) section.</p>
TiffCompressionOption WICTiffCompressionOption<p>Specifies the Tagged Image File Format (TIFF) compression options.</p>

Structures

Managed Native
BitmapPattern WICBitmapPattern<p>Contains members that identify a pattern within an image file which can be used to identify a particular format.</p>
BitmapPlane WICBitmapPlane<p>Specifies the pixel format, buffer, stride and size of a component plane for a planar pixel format.</p>
BitmapPlaneDescription WICBitmapPlaneDescription<p>Specifies the pixel format and size of a component plane.</p>
DdsFormatInfo WICDdsFormatInfo<p>Specifies the and block information of a DDS format.</p>
DdsParameters WICDdsParameters<p>Specifies the DDS image dimension, and alpha mode of contained data.</p>
ImageParameters WICImageParameters<p>This defines parameters that you can use to override the default parameters normally used when encoding an image.</p>
JpegFrameHeader WICJpegFrameHeader<p>Represents a JPEG frame header.</p>
JpegScanHeader WICJpegScanHeader<p>Represents a JPEG frame header.</p>
RawCapabilitiesInfo WICRawCapabilitiesInfo<p>Defines raw codec capabilites.</p>
RawToneCurve WICRawToneCurve<p>Represents a raw image tone curve.</p>
RawToneCurvePoint WICRawToneCurvePoint<p>Represents a raw image tone curve point.</p>

Interfaces

Managed Native
Bitmap<ul><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>Lock</li><li>Lock</li><li>New</li><li>Palette</li><li>SetResolution</li></ul> IWICBitmap<ul><li>CreateBitmap</li><li>CreateBitmapFromMemory</li><li>CreateBitmapFromSource</li><li>CreateBitmapFromSourceRect</li><li>Lock</li><li>Lock</li><li>CreateBitmapFromMemory</li><li>SetPalette</li><li>SetResolution</li></ul><p>Defines methods that add the concept of writeability and static in-memory representations of bitmaps to .</p>
BitmapClipper<ul><li>Initialize</li></ul> IWICBitmapClipper<ul><li>Initialize</li></ul><p>Exposes methods that produce a clipped version of the input bitmap for a specified rectangular region of interest.</p>
BitmapCodecInfo<ul><li>ContainerFormat</li><li>IsAnimationSupported</li><li>IsChromakeySupported</li><li>IsLosslessSupported</li><li>IsMultiframeSupported</li><li>MatchesMimeType</li></ul> IWICBitmapCodecInfo<ul><li>GetContainerFormat</li><li>DoesSupportAnimation</li><li>DoesSupportChromakey</li><li>DoesSupportLossless</li><li>DoesSupportMultiframe</li><li>MatchesMimeType</li></ul><p>Exposes methods that provide information about a particular codec.</p>
BitmapDecoder<ul><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>ContainerFormat</li><li>CopyPalette</li><li>DecoderInfo</li><li>FrameCount</li><li>GetFrame</li><li>Initialize</li><li>MetadataQueryReader</li><li>Preview</li><li>QueryCapability</li><li>Thumbnail</li><li>TryGetColorContexts</li><li>TryGetColorContexts</li></ul> IWICBitmapDecoder<ul><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>GetContainerFormat</li><li>CopyPalette</li><li>GetDecoderInfo</li><li>GetFrameCount</li><li>GetFrame</li><li>???</li><li>GetMetadataQueryReader</li><li>GetPreview</li><li>???</li><li>GetThumbnail</li><li>???</li><li>???</li></ul><p>Exposes methods that represent a decoder.</p>
BitmapDecoderInfo<ul><li>MatchesPattern</li><li>Patterns</li></ul> IWICBitmapDecoderInfo<ul><li>???</li><li>???</li></ul><p>Exposes methods that provide information about a decoder.</p>
BitmapEncoder<ul><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>.ctor</li><li>Commit</li><li>ContainerFormat</li><li>EncoderInfo</li><li>Initialize</li><li>Initialize</li><li>MetadataQueryWriter</li><li>Palette</li><li>Preview</li><li>SetColorContexts</li><li>Thumbnail</li></ul> IWICBitmapEncoder<ul><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>???</li><li>Commit</li><li>GetContainerFormat</li><li>GetEncoderInfo</li><li>???</li><li>???</li><li>GetMetadataQueryWriter</li><li>SetPalette</li><li>SetPreview</li><li>???</li><li>SetThumbnail</li></ul><p>Defines methods for setting an encoder’s properties such as thumbnails, frames, and palettes.</p>
BitmapEncoderInfo<ul><li>CreateInstance</li></ul> IWICBitmapEncoderInfo<ul><li>CreateInstance</li></ul><p>Exposes methods that provide information about an encoder.</p>
BitmapFlipRotator<ul><li>Initialize</li></ul> IWICBitmapFlipRotator<ul><li>Initialize</li></ul><p>Exposes methods that produce a flipped (horizontal or vertical) and/or rotated (by 90 degree increments) bitmap source.</p>
BitmapFrameDecode<ul><li>MetadataQueryReader</li><li>Thumbnail</li><li>TryGetColorContexts</li><li>TryGetColorContexts</li></ul> IWICBitmapFrameDecode<ul><li>GetMetadataQueryReader</li><li>GetThumbnail</li><li>???</li><li>???</li></ul><p>Defines methods for decoding individual image frames of an encoded file.</p>
BitmapFrameEncode<ul><li>.ctor</li><li>Commit</li><li>Initialize</li><li>MetadataQueryWriter</li><li>Palette</li><li>SetColorContexts</li><li>SetPixelFormat</li><li>SetResolution</li><li>SetSize</li><li>Thumbnail</li><li>WritePixels</li><li>WritePixels</li><li>WritePixels</li><li>WriteSource</li><li>WriteSource</li></ul> IWICBitmapFrameEncode<ul><li>???</li><li>Commit</li><li>???</li><li>GetMetadataQueryWriter</li><li>SetPalette</li><li>???</li><li>SetPixelFormat</li><li>SetResolution</li><li>SetSize</li><li>SetThumbnail</li><li>WritePixels</li><li>WritePixels</li><li>WritePixels</li><li>WriteSource</li><li>WriteSource</li></ul><p>Represents an encoder’s individual image frames.</p>
BitmapLock<ul><li>PixelFormat</li><li>Size</li><li>Stride</li></ul> IWICBitmapLock<ul><li>GetPixelFormat</li><li>???</li><li>GetStride</li></ul><p>Exposes methods that support the Lock method.</p>
BitmapScaler<ul><li>Initialize</li></ul> IWICBitmapScaler<ul><li>Initialize</li></ul><p>Represents a resized version of the input bitmap using a resampling or filtering algorithm.</p>
BitmapSource<ul><li>CopyPalette</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>GetResolution</li><li>PixelFormat</li><li>Size</li></ul> IWICBitmapSource<ul><li>CopyPalette</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>GetResolution</li><li>GetPixelFormat</li><li>GetSize</li></ul><p>Exposes methods that refers to a source from which pixels are retrieved, but cannot be written back to.</p>
BitmapSourceTransform<ul><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>CopyPixels</li><li>GetClosestPixelFormat</li><li>GetClosestSize</li><li>IsSupportingTransform</li></ul> IWICBitmapSourceTransform<ul><li>???</li><li>???</li><li>???</li><li>???</li><li>GetClosestPixelFormat</li><li>???</li><li>DoesSupportTransform</li></ul><p>No documentation.</p>
ColorContext<ul><li>.ctor</li><li>ExifColorSpace</li><li>InitializeFromExifColorSpace</li><li>InitializeFromFilename</li><li>InitializeFromMemory</li><li>TypeInfo</li></ul> IWICColorContext<ul><li>???</li><li>GetExifColorSpace</li><li>InitializeFromExifColorSpace</li><li>InitializeFromFilename</li><li>???</li><li>GetType</li></ul><p>Exposes methods for color management.</p>
ColorTransform<ul><li>.ctor</li><li>Initialize</li></ul> IWICColorTransform<ul><li>???</li><li>Initialize</li></ul><p>Exposes methods that transforms an from one color context to another.</p>
ComponentInfo<ul><li>Author</li><li>CLSID</li><li>ComponentType</li><li>FriendlyName</li><li>SigningStatus</li><li>SpecVersion</li><li>VendorGUID</li><li>Version</li></ul> IWICComponentInfo<ul><li>???</li><li>GetCLSID</li><li>GetComponentType</li><li>???</li><li>GetSigningStatus</li><li>???</li><li>GetVendorGUID</li><li>???</li></ul><p>Exposes methods that provide component information.</p>
DdsDecoder<ul><li>GetFrame</li><li>Parameters</li></ul> IWICDdsDecoder<ul><li>GetFrame</li><li>GetParameters</li></ul><p>Provides information and functionality specific to the DDS image format.</p>
DdsEncoder<ul><li>CreateNewFrame</li><li>Parameters</li></ul> IWICDdsEncoder<ul><li>CreateNewFrame</li><li>GetParameters</li></ul><p>Enables writing DDS format specific information to an encoder.</p>
DdsFrameDecode<ul><li>CopyBlocks</li><li>FormatInfo</li></ul> IWICDdsFrameDecode<ul><li>CopyBlocks</li><li>GetFormatInfo</li></ul><p>Provides access to a single frame of DDS image data in its native form, as well as information about the image data.</p>
DevelopRaw<ul><li>Contrast</li><li>CurrentParameterSet</li><li>DestinationColorContext</li><li>ExposureCompensation</li><li>Gamma</li><li>GetKelvinRangeInfo</li><li>GetToneCurve</li><li>GetWhitePointRGB</li><li>LoadParameterSet</li><li>NamedWhitePoint</li><li>NoiseReduction</li><li>QueryRawCapabilitiesInfo</li><li>RenderMode</li><li>Rotation</li><li>Saturation</li><li>SetToneCurve</li><li>SetWhitePointRGB</li><li>Sharpness</li><li>Tint</li><li>WhitePointKelvin</li></ul> IWICDevelopRaw<ul><li>GetContrast</li><li>GetCurrentParameterSet</li><li>SetDestinationColorContext</li><li>GetExposureCompensation</li><li>GetGamma</li><li>GetKelvinRangeInfo</li><li>GetToneCurve</li><li>GetWhitePointRGB</li><li>LoadParameterSet</li><li>GetNamedWhitePoint</li><li>GetNoiseReduction</li><li>QueryRawCapabilitiesInfo</li><li>GetRenderMode</li><li>GetRotation</li><li>GetSaturation</li><li>SetToneCurve</li><li>SetWhitePointRGB</li><li>GetSharpness</li><li>GetTint</li><li>GetWhitePointKelvin</li></ul><p>Exposes methods that provide access to the capabilites of a raw codec format.</p>
FastMetadataEncoder<ul><li>Commit</li><li>MetadataQueryWriter</li></ul> IWICFastMetadataEncoder<ul><li>Commit</li><li>GetMetadataQueryWriter</li></ul><p>Exposes methods used for in-place metadata editing.</p>
FormatConverter<ul><li>CanConvert</li><li>Initialize</li></ul> IWICFormatConverter<ul><li>CanConvert</li><li>Initialize</li></ul><p> Represents an that provides converts the image data from one pixel format to another, handling dithering and halftoning to indexed formats, palette translation and alpha thresholding.</p>
FormatConverterInfo IWICFormatConverterInfo<p>Exposes methods that provide information about a pixel format converter.</p>
ImageEncoder<ul><li>.ctor</li><li>WriteFrame</li><li>WriteFrameThumbnail</li><li>WriteThumbnail</li></ul> IWICImageEncoder<ul><li>CreateImageEncoder</li><li>WriteFrame</li><li>WriteFrameThumbnail</li><li>WriteThumbnail</li></ul><p>Encodes interfaces to an .</p>
ImagingFactory IWICImagingFactory<p>Exposes methods used to create components for the Windows Imaging Component (WIC) such as decoders, encoders and pixel format converters.</p>
ImagingFactory2 IWICImagingFactory2<p>Exposes methods used to create components for the Windows Imaging Component (WIC) such as decoders, encoders and pixel format converters.</p>
JpegFrameDecode<ul><li>ClearIndexing</li><li>CopyMinimalStream</li><li>CopyScan</li><li>DoesSupportIndexing</li><li>FrameHeader</li><li>GetAcHuffmanTable</li><li>GetDcHuffmanTable</li><li>GetQuantizationTable</li><li>GetScanHeader</li><li>SetIndexing</li></ul> IWICJpegFrameDecode<ul><li>ClearIndexing</li><li>CopyMinimalStream</li><li>CopyScan</li><li>DoesSupportIndexing</li><li>GetFrameHeader</li><li>GetAcHuffmanTable</li><li>GetDcHuffmanTable</li><li>GetQuantizationTable</li><li>GetScanHeader</li><li>SetIndexing</li></ul><p>Exposes methods for decoding JPEG images.</p>
JpegFrameEncode<ul><li>GetAcHuffmanTable</li><li>GetDcHuffmanTable</li><li>GetQuantizationTable</li><li>WriteScan</li></ul> IWICJpegFrameEncode<ul><li>GetAcHuffmanTable</li><li>GetDcHuffmanTable</li><li>GetQuantizationTable</li><li>WriteScan</li></ul><p>Exposes methods for writing compressed JPEG scan data directly to the WIC encoder’s output stream.</p>
MetadataQueryReader<ul><li>ContainerFormat</li><li>GetMetadataByName</li><li>Location</li><li>TryGetMetadataByName</li><li>TryGetMetadataByName</li></ul> IWICMetadataQueryReader<ul><li>GetContainerFormat</li><li>???</li><li>???</li><li>???</li><li>???</li></ul><p>Exposes methods for retrieving metadata blocks and items from a decoder or its image frames using a metadata query expression.</p>
MetadataQueryWriter<ul><li>.ctor</li><li>RemoveMetadataByName</li></ul> IWICMetadataQueryWriter<ul><li>???</li><li>RemoveMetadataByName</li></ul><p>Exposes methods for setting or removing metadata blocks and items to an encoder or its image frames using a metadata query expression.</p>
Palette<ul><li>.ctor</li><li>ColorCount</li><li>GetColors</li><li>HasAlpha</li><li>Initialize</li><li>Initialize</li><li>Initialize</li><li>Initialize</li><li>IsBlackWhite</li><li>IsGrayscale</li><li>TypeInfo</li></ul> IWICPalette<ul><li>CreatePalette</li><li>GetColorCount</li><li>GetColors</li><li>HasAlpha</li><li>InitializePredefined</li><li>InitializeFromBitmap</li><li>InitializeFromPalette</li><li>InitializeCustom</li><li>IsBlackWhite</li><li>IsGrayscale</li><li>GetType</li></ul><p>Exposes methods for accessing and building a color table, primarily for indexed pixel formats.</p>
PixelFormatInfo<ul><li>BitsPerPixel</li><li>ChannelCount</li><li>ColorContext</li><li>FormatGUID</li><li>GetChannelMask</li></ul> IWICPixelFormatInfo<ul><li>GetBitsPerPixel</li><li>GetChannelCount</li><li>GetColorContext</li><li>GetFormatGUID</li><li>???</li></ul><p>Exposes methods that provide information about a pixel format.</p>
PixelFormatInfo2<ul><li>IsSupportingTransparency</li><li>NumericRepresentation</li></ul> IWICPixelFormatInfo2<ul><li>SupportsTransparency</li><li>GetNumericRepresentation</li></ul><p>Extends by providing additional information about a pixel format.</p>
PlanarBitmapFrameEncode<ul><li>WritePixels</li><li>WriteSource</li><li>WriteSource</li></ul> IWICPlanarBitmapFrameEncode<ul><li>WritePixels</li><li>WriteSource</li><li>WriteSource</li></ul><p>Allows planar component image pixels to be written to an encoder.</p>
PlanarBitmapSourceTransform<ul><li>CopyPixels</li><li>DoesSupportTransform</li></ul> IWICPlanarBitmapSourceTransform<ul><li>CopyPixels</li><li>DoesSupportTransform</li></ul><p>Provides access to planar Y?CbCr pixel formats where pixel components are stored in separate component planes.</p>
PlanarFormatConverter<ul><li>CanConvert</li><li>Initialize</li><li>Initialize</li></ul> IWICPlanarFormatConverter<ul><li>CanConvert</li><li>Initialize</li><li>Initialize</li></ul><p>Allows a format converter to be initialized with a planar source.</p>
ProgressiveLevelControl<ul><li>CurrentLevel</li><li>LevelCount</li></ul> IWICProgressiveLevelControl<ul><li>GetCurrentLevel</li><li>GetLevelCount</li></ul><p>Exposes methods for obtaining information about and controlling progressive decoding.</p>
WICStream<ul><li>.ctor</li><li>.ctor</li><li>.ctor</li></ul> IWICStream<ul><li>???</li><li>InitializeFromIStream</li><li>InitializeFromMemory</li></ul><p>Represents a Windows Imaging Component (WIC) stream for referencing imaging and metadata content.</p>