Edit

Share via


wincodec.h header

This header is used by Windows Imaging Component. For more information, see:

wincodec.h contains the following programming interfaces:

Interfaces

 
IWICBitmap

Defines methods that add the concept of writeability and static in-memory representations of bitmaps to IWICBitmapSource.
IWICBitmapClipper

Exposes methods that produce a clipped version of the input bitmap for a specified rectangular region of interest.
IWICBitmapCodecInfo

Exposes methods that provide information about a particular codec.
IWICBitmapCodecProgressNotification

Exposes methods used for progress notification for encoders and decoders.
IWICBitmapDecoder

Exposes methods that represent a decoder.
IWICBitmapDecoderInfo

Exposes methods that provide information about a decoder.
IWICBitmapEncoder

Defines methods for setting an encoder's properties such as thumbnails, frames, and palettes.
IWICBitmapEncoderInfo

Exposes methods that provide information about an encoder.
IWICBitmapFlipRotator

Exposes methods that produce a flipped (horizontal or vertical) and/or rotated (by 90 degree increments) bitmap source. The flip is done before the rotation.
IWICBitmapFrameDecode

Defines methods for decoding individual image frames of an encoded file.
IWICBitmapFrameEncode

Represents an encoder's individual image frames.
IWICBitmapLock

Exposes methods that support the Lock method.
IWICBitmapScaler

Represents a resized version of the input bitmap using a resampling or filtering algorithm.
IWICBitmapSource

Exposes methods that refers to a source from which pixels are retrieved, but cannot be written back to.
IWICBitmapSourceTransform

Exposes methods for offloading certain operations to the underlying IWICBitmapSource implementation.
IWICColorContext

Exposes methods for color management.
IWICColorTransform

Exposes methods that transforms an IWICBitmapSource from one color context to another.
IWICComponentInfo

Exposes methods that provide component information.
IWICDdsDecoder

Provides information and functionality specific to the DDS image format.
IWICDdsEncoder

Enables writing DDS format specific information to an encoder.
IWICDdsFrameDecode

Provides access to a single frame of DDS image data in its native DXGI_FORMAT form, as well as information about the image data.
IWICDevelopRaw

Exposes methods that provide access to the capabilities of a raw codec format.
IWICDevelopRawNotificationCallback

Exposes a callback method for raw image change nofications.
IWICEnumMetadataItem

Exposes methods that provide enumeration services for individual metadata items.
IWICFastMetadataEncoder

Exposes methods used for in-place metadata editing. A fast metadata encoder enables you to add and remove metadata to an image without having to fully re-encode the image.
IWICFormatConverter

Represents an IWICBitmapSource that converts the image data from one pixel format to another, handling dithering and halftoning to indexed formats, palette translation and alpha thresholding.
IWICFormatConverterInfo

Exposes methods that provide information about a pixel format converter.
IWICImageEncoder

Encodes ID2D1Image interfaces to an IWICBitmapEncoder.
IWICImagingFactory

Exposes methods used to create components for the Windows Imaging Component (WIC) such as decoders, encoders and pixel format converters.
IWICImagingFactory2

An extension of the WIC factory interface that includes the ability to create an IWICImageEncoder.
IWICJpegFrameDecode

Exposes methods for decoding JPEG images. Provides access to the Start Of Frame (SOF) header, Start of Scan (SOS) header, the Huffman and Quantization tables, and the compressed JPEG JPEG data. Also enables indexing for efficient random access.
IWICJpegFrameEncode

Exposes methods for writing compressed JPEG scan data directly to the WIC encoder's output stream. Also provides access to the Huffman and quantization tables.
IWICMetadataQueryReader

Exposes methods for retrieving metadata blocks and items from a decoder or its image frames using a metadata query expression.
IWICMetadataQueryWriter

Exposes methods for setting or removing metadata blocks and items to an encoder or its image frames using a metadata query expression.
IWICPalette

Exposes methods for accessing and building a color table, primarily for indexed pixel formats.
IWICPixelFormatInfo

Exposes methods that provide information about a pixel format.
IWICPixelFormatInfo2

Extends IWICPixelFormatInfo by providing additional information about a pixel format.
IWICPlanarBitmapFrameEncode

Allows planar component image pixels to be written to an encoder.
IWICPlanarBitmapSourceTransform

Provides access to planar Y’CbCr pixel formats where pixel components are stored in separate component planes.
IWICPlanarFormatConverter

Allows a format converter to be initialized with a planar source.
IWICProgressCallback

IWICProgressCallback interface is documented only for compliance; its use is not recommended and may be altered or unavailable in the future. Instead, and use RegisterProgressNotification.
IWICProgressiveLevelControl

Exposes methods for obtaining information about and controlling progressive decoding.
IWICStream

Represents a Windows Imaging Component (WIC) stream for referencing imaging and metadata content.

Functions

 
WICConvertBitmapSource

Obtains a IWICBitmapSource in the desired pixel format from a given IWICBitmapSource.
WICCreateBitmapFromSection

Returns a IWICBitmapSource that is backed by the pixels of a Windows Graphics Device Interface (GDI) section handle. (WICCreateBitmapFromSection)
WICCreateBitmapFromSectionEx

Returns a IWICBitmapSource that is backed by the pixels of a Windows Graphics Device Interface (GDI) section handle. (WICCreateBitmapFromSectionEx)
WICMapGuidToShortName

Obtains the short name associated with a given GUID.
WICMapSchemaToName

Obtains the name associated with a given schema.
WICMapShortNameToGuid

Obtains the GUID associated with the given short name.

Callback functions

 
PFNProgressNotification

Application defined callback function called when codec component progress is made.

Structures

 
WICBitmapPattern

Contains members that identify a pattern within an image file which can be used to identify a particular format.
WICBitmapPlane

Specifies the pixel format, buffer, stride and size of a component plane for a planar pixel format.
WICBitmapPlaneDescription

Specifies the pixel format and size of a component plane.
WICDdsFormatInfo

Specifies the DXGI_FORMAT and block information of a DDS format.
WICDdsParameters

Specifies the DDS image dimension, DXGI_FORMAT and alpha mode of contained data.
WICImageParameters

This defines parameters that you can use to override the default parameters normally used when encoding an image.
WICJpegFrameHeader

Represents a JPEG frame header. (WICJpegFrameHeader)
WICJpegScanHeader

Represents a JPEG frame header. (WICJpegScanHeader)
WICRawCapabilitiesInfo

Defines raw codec capabilities.
WICRawToneCurve

Represents a raw image tone curve.
WICRawToneCurvePoint

Represents a raw image tone curve point.
WICRect

Represents a rectangle for Windows Imaging Component (WIC) API.

Enumerations

 
WIC8BIMIptcDigestProperties

Specifies the identifiers of the metadata items in an 8BIM IPTC digest metadata block.
WIC8BIMIptcProperties

Specifies the identifiers of the metadata items in an 8BIM IPTC block.
WIC8BIMResolutionInfoProperties

Specifies the identifiers of the metadata items in an 8BIMResolutionInfo block.
WICBitmapAlphaChannelOption

Specifies the desired alpha channel usage.
WICBitmapCreateCacheOption

Specifies the desired cache usage.
WICBitmapDecoderCapabilities

Specifies the capabilities of the decoder.
WICBitmapDitherType

Specifies the type of dither algorithm to apply when converting between image formats.
WICBitmapEncoderCacheOption

Specifies the cache options available for an encoder.
WICBitmapInterpolationMode

Specifies the sampling or filtering mode to use when scaling an image.
WICBitmapLockFlags

Specifies access to an IWICBitmap.
WICBitmapPaletteType

Specifies the type of palette used for an indexed image format.
WICBitmapTransformOptions

Specifies the flip and rotation transforms.
WICColorContextType

Specifies the color context types.
WICComponentEnumerateOptions

Specifies component enumeration options.
WICComponentSigning

Specifies the component signing status.
WICComponentType

Specifies the type of Windows Imaging Component (WIC) component.
WICDdsAlphaMode

Specifies the meaning of pixel color component values contained in the DDS image.
WICDdsDimension

Specifies the dimension type of the data contained in DDS image.
WICDecodeOptions

Specifies decode options.
WICGifApplicationExtensionProperties

Specifies the application extension metadata properties for a Graphics Interchange Format (GIF) image.
WICGifCommentExtensionProperties

Specifies the comment extension metadata properties for a Graphics Interchange Format (GIF) image.
WICGifGraphicControlExtensionProperties

Specifies the graphic control extension metadata properties that define the transitions between each frame animation for Graphics Interchange Format (GIF) images.
WICGifImageDescriptorProperties

Specifies the image descriptor metadata properties for Graphics Interchange Format (GIF) frames.
WICGifLogicalScreenDescriptorProperties

Specifies the logical screen descriptor properties for Graphics Interchange Format (GIF) metadata.
WICHeifCompressionOption

Defines constants that specify High Efficiency Image Format (HEIF) compression options.
WICHeifHdrProperties

Specifies the HDR properties of a High Efficiency Image Format (HEIF) image.
WICHeifProperties

Specifies the properties of a High Efficiency Image Format (HEIF) image.
WICJpegChrominanceProperties

Specifies the JPEG chrominance table property.
WICJpegCommentProperties

Specifies the JPEG comment properties.
WICJpegIndexingOptions

Specifies the options for indexing a JPEG image.
WICJpegLuminanceProperties

Specifies the JPEG luminance table property.
WICJpegScanType

Specifies the memory layout of pixel data in a JPEG image scan.
WICJpegTransferMatrix

Specifies conversion matrix from Y'Cb'Cr' to R'G'B'.
WICJpegYCrCbSubsamplingOption

Specifies the JPEG YCrCB subsampling options.
WICNamedWhitePoint

Specifies named white balances for raw images.
WICPixelFormatNumericRepresentation

Defines constants that specify a primitive type for numeric representation of a WIC pixel format.
WICPlanarOptions

Specifies additional options to an IWICPlanarBitmapSourceTransform implementation.
WICPngBkgdProperties

Specifies the Portable Network Graphics (PNG) background (bKGD) chunk metadata properties.
WICPngChrmProperties

Specifies the Portable Network Graphics (PNG) cHRM chunk metadata properties for CIE XYZ chromaticity.
WICPngFilterOption

Specifies the Portable Network Graphics (PNG) filters available for compression optimization.
WICPngGamaProperties

Specifies the Portable Network Graphics (PNG) gAMA chunk metadata properties.
WICPngHistProperties

Specifies the Portable Network Graphics (PNG) hIST chunk metadata properties.
WICPngIccpProperties

Specifies the Portable Network Graphics (PNG) iCCP chunk metadata properties.
WICPngItxtProperties

Specifies the Portable Network Graphics (PNG) iTXT chunk metadata properties.
WICPngSrgbProperties

Specifies the Portable Network Graphics (PNG) sRGB chunk metadata properties.
WICPngTimeProperties

Specifies the Portable Network Graphics (PNG) tIME chunk metadata properties.
WICProgressNotification

Specifies when the progress notification callback should be called.
WICProgressOperation

Specifies the progress operations to receive notifications for.
WICRawCapabilities

Specifies the capability support of a raw image.
WICRawParameterSet

Specifies the parameter set used by a raw codec.
WICRawRenderMode

Specifies the render intent of the next CopyPixels call.
WICRawRotationCapabilities

Specifies the rotation capabilities of the codec.
WICSectionAccessLevel

Specifies the access level of a Windows Graphics Device Interface (GDI) section.
WICTiffCompressionOption

Specifies the Tagged Image File Format (TIFF) compression options.
WICWebpAnimProperties

Specifies the animation properties of a WebP image.
WICWebpAnmfProperties

Specifies the animation frame properties of a WebP image.