IWICJpegFrameDecode interface (wincodec.h)

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.


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


The IWICJpegFrameDecode interface has these methods.

Method Description
IWICJpegFrameDecode::ClearIndexing Removes the indexing from a JPEG that has been indexed using IWICJpegFrameDecode::SetIndexing.
IWICJpegFrameDecode::CopyScan Retrieves a copy of the compressed JPEG scan directly from the WIC decoder frame's output stream.
IWICJpegFrameDecode::DoesSupportIndexing Retrieves a value indicating whether this decoder supports indexing for efficient random access.
IWICJpegFrameDecode::GetAcHuffmanTable Retrieves a copy of the AC Huffman table for the specified scan and table.
IWICJpegFrameDecode::GetDcHuffmanTable Retrieves a copy of the DC Huffman table for the specified scan and table.
IWICJpegFrameDecode::GetFrameHeader Retrieves header data from the entire frame.
IWICJpegFrameDecode::GetQuantizationTable Retrieves a copy of the quantization table.
IWICJpegFrameDecode::GetScanHeader Retrieves parameters from the Start Of Scan (SOS) marker for the scan with the specified index.
IWICJpegFrameDecode::SetIndexing Enables indexing of the JPEG for efficient random access.


Obtain this interface by calling IUnknown::QueryInterface on the Windows-provided IWICBitmapFrameDecoder interface for the JPEG decoder.


Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header wincodec.h