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

Public Member Functions | |
| virtual bool16 | Open (const JPEGWriteOptions &jpegWriteOptions, IPMStream *iPMStream)=0 |
| virtual bool16 | WriteRows (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 encoding buffers of image data to JPEG
| pure virtual |
Upon completion, call Close to release the output stream.
| pure virtual |
Specify the destination stream and JPEG options. This method must be called first.
| jpegWriteOptions | - IN: JPEG options |
| iPMStream | - IN: destination stream |
| pure virtual |
Encode the provided buffer of data to JPEG using the output stream and JPEG options specified by the Open method.
| rowBuffer | - IN: Source data |
| numberOfRows | - IN: Number of scanlines of image data in the rowbuffer |