C++ API Library Reference  4.3.2-74-ge1d4cca
Public Static Functions | List of all members
JpegEncoder Class Reference

The JpegEncoder class encodes the specified image as a JPEG with the specified quality.

Public Static Functions

static ByteArray JpegCompress (const Image &image, Int32 quality)
 

Usage Description

static ByteArray JpegCompress ( const Image image,
Int32  quality 
)
static

Encodes the specified image with the specified quality. Returns a byte array containing the encoded image.

Parameters
imageThe image to encode
qualityAn integer between 0 and 100 specifying the encoding quality