#include <djv_jpgencoder.h>
|
| static void | encode (Storage *inStorage, const u8 *inImage, ssize_t inRowStride, Photometric inPm, size_t inWidth, size_t inHeight, const Params &inParams) |
| |
| static AutoPtr< Chunk > | encodeJPGChunk (const u8 *inImage, ssize_t inRowStride, Photometric inPM, size_t inWidth, size_t inHeight, const Params &inParams, const String &inChunkId) |
| |
JPEG Encoding options.
| Enumerator |
|---|
| jefProgressive |
Generate progressive JPEG.
|
| jefOptimizeCompression |
Optimize compression.
|
| jefISOCompliant |
Generate fully ISO compliant JPEG.
|
| jefARIB_TR_B14_Compatible |
Generate ARIB TR B14 compatible JPEG.
|
| jefMakeGrayscale |
Generate Grayscale regardless of input photometric.
|
| static void Celartem::DjVu::JpegEncoder::encode |
( |
Storage * |
inStorage, |
|
|
const u8 * |
inImage, |
|
|
ssize_t |
inRowStride, |
|
|
Photometric |
inPm, |
|
|
size_t |
inWidth, |
|
|
size_t |
inHeight, |
|
|
const Params & |
inParams |
|
) |
| |
|
static |
Encode JPEG image.
- Parameters
-
| inStorage | Storage to write on. |
| inImage | The pointer to the first line in the RAW data. |
| inRowStride | The row-stride of the RAW data. |
| inPm | The photometric of srouce image. This is one of the Photometric enumeration values. |
| inWidth | The width of the image. |
| inHeight | The height of the image. |
| inParams | The parameters to configure JPEG encoding. |
| static AutoPtr<Chunk> Celartem::DjVu::JpegEncoder::encodeJPGChunk |
( |
const u8 * |
inImage, |
|
|
ssize_t |
inRowStride, |
|
|
Photometric |
inPM, |
|
|
size_t |
inWidth, |
|
|
size_t |
inHeight, |
|
|
const Params & |
inParams, |
|
|
const String & |
inChunkId |
|
) |
| |
|
static |
Encode JPEG image.
- Parameters
-
| inImage | The pointer to the first line in the RAW data. |
| inRowStride | The row-stride of the RAW data. |
| inPm | The photometric of srouce image. This is one of the Photometric enumeration values. |
| inWidth | The width of the image. |
| inHeight | The height of the image. |
| inParams | The parameters to configure JPEG encoding. |
| inChunkId | The identififer of the chunk. |
- Returns
- Pointer to a newly created JPEG chunk.
The documentation for this struct was generated from the following file: