IWICPlanarBitmapFrameEncode interface
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.
When to implement
When you need to expose the ability to encode planar pixel formats from an encoder frame.
Members
The IWICPlanarBitmapFrameEncode interface inherits from the IUnknown interface. IWICPlanarBitmapFrameEncode also has these types of members:
Methods
The IWICPlanarBitmapFrameEncode interface has these methods.
| Method | Description |
|---|---|
| WritePixels |
Writes lines from the source planes to the encoded format. |
| WriteSource |
Writes lines from the source planes to the encoded format. |
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
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
See also