CreateOutput creates a JPEG output object, which is used to compress an image data into the specified file. CreateOutput requires Output::CopyCriticalParams call afterwards.
|
Parameters |
Description |
|
File* pout |
Pointer to the output file where the image will be written. |
|
int width |
The width of the created image. |
|
int height |
The height of the created image. |
|
int quality |
Compression quality (value ranges from 1 to 100). |