IWICPlanarBitmapFrameEncode interface (wincodec.h)

Allows planar component image pixels to be written to an encoder. When supported by the encoder, this allows an application to encode planar component image data without first converting to an interleaved pixel format.

You can use

QueryInterface to obtain this interface from the Windows provided implementation of IWICBitmapFrameEncode for the JPEG encoder.

Inheritance

The IWICPlanarBitmapFrameEncode interface inherits from the IUnknown interface. IWICPlanarBitmapFrameEncode also has these types of members:

Methods

The IWICPlanarBitmapFrameEncode interface has these methods.

 
IWICPlanarBitmapFrameEncode::WritePixels

Writes lines from the source planes to the encoded format. (IWICPlanarBitmapFrameEncode.WritePixels)
IWICPlanarBitmapFrameEncode::WriteSource

Writes lines from the source planes to the encoded format. (IWICPlanarBitmapFrameEncode.WriteSource)

Remarks

Encoding YCbCr data using IWICPlanarBitmapFrameEncode is similar but not identical to encoding interleaved data using IWICBitmapFrameEncode. The planar interface only exposes the ability to write planar frame image data, and you should continue to use the frame encode interface to set metadata or a thumbnail and to commit at the end of the operation.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header wincodec.h

See also

JPEG YCbCr Support