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.
The IWICPlanarBitmapFrameEncode interface inherits from the IUnknown interface. IWICPlanarBitmapFrameEncode also has these types of members:
The IWICPlanarBitmapFrameEncode interface has these methods.
Writes lines from the source planes to the encoded format. (IWICPlanarBitmapFrameEncode.WritePixels)
Writes lines from the source planes to the encoded format. (IWICPlanarBitmapFrameEncode.WriteSource)
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.
|Minimum supported client||Windows 8.1 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2012 R2 [desktop apps | UWP apps]|