![]() | InDesign SDK 20.5 |
#include <IJPEGDecoder.h>

Public Member Functions | |
| virtual bool16 | Open (JPEGReadInfo *jpegReadInfo, IPMStream *iPMStream)=0 |
| virtual bool16 | ReadRows (char *rowBuffer, uint32 numberOfRows)=0 |
| virtual bool16 | Close ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface for decoding JPEG compressed data
| pure virtual |
Close the stream and cleanup
| pure virtual |
Specify the input stream and read the JPEG tags.
| jpegReadInfo | - OUT: Pointer to a valid jpegReadInfo structure which client should memset to zeroes. Decoder will fill in the structure based on the JPEG tags. |
| iPMStream | - IN: input stream. |
| pure virtual |
Read numberOfRows of image data into rowBuffer. If rowBuffer is nil, then skip numberOfRows.
| rowBuffer | - OUT: destination buffer or nill to skip 'numberOfRows' rows. |
| numberOfRows | - IN: how many rows of data to read. |