#include <pxl_imageexport.h>
Public Types | |
| enum | JPEGFLAGS { OptimizeCompression = 1, Progressive = 2, ISOCompliant = 4, ARIB_TR_B14_Compatible = 8 } |
Public Member Functions | |
| JPEGExportParam (size_t inQuality=80, size_t inFlags=0) | |
| void | initDCTQTable (size_t inQuality) |
Public Attributes | |
| size_t | quality |
| Output Quality in 1-100 (0 for 80). | |
| size_t | flags |
| One or any combination of JPEGFLAGS enumeration values. | |
| SimpleArray< DCTQTable > | qtables |
| DCT coefficient quantization tables. | |
Classes | |
| struct | DCTQTable |
Definition at line 628 of file pxl_imageexport.h.
This enumeration defines options for JPEGExportParam::flags.
| OptimizeCompression | Optimize Compression (non-baseline). Without this option, output baseline compression JPEG. |
| Progressive | Progressive. |
| ISOCompliant | We do exactly the ISO procedure; any vender specific JPEG extensions are disabled such as Adobe JPEG. This flag instruct the encoder not to reverse tones in CMYK JPEG. (non-Adobe style JPEG) |
| ARIB_TR_B14_Compatible |
Output ARIB TR-B14 compatible JPEG. With the flag, all the input image will be automatically converted into RGB (usually sRGB). You can not use this flag with the other flags except ISOCompliant. For more information, see ARIB TR-B14 specification. |
Definition at line 633 of file pxl_imageexport.h.
| Celartem::ExportUtils::JPEGExportParam::JPEGExportParam | ( | size_t | inQuality = 80, |
|
| size_t | inFlags = 0 | |||
| ) | [inline] |
This constructor initializes the structure.
| inQuality | Output quality in 1-100 or 0 for the default (80). | |
| inFlags | One or any combination of JPEGFLAGS enumeration values. |
Definition at line 700 of file pxl_imageexport.h.
| void Celartem::ExportUtils::JPEGExportParam::initDCTQTable | ( | size_t | inQuality | ) |
Initializes the DCT coefficient quantization table.
| ioTable | Pointer to the table. | |
| inQuality | Output quality in 1-100 or 0 for the default (80). | |
| isLuminance | Whether the channel is luminance or not. |
Output Quality in 1-100 (0 for 80).
Output quality in 1-100 or 0 for the default (80).
This parameter is ignored if qtables for each component is valid.
Definition at line 666 of file pxl_imageexport.h.
One or any combination of JPEGFLAGS enumeration values.
One or any combination of JPEGFLAGS enumeration values.
Definition at line 671 of file pxl_imageexport.h.
DCT coefficient quantization tables.
The first element is for luminance or independent channel and the second element is for chrominance. The chrominance channel is only used for Cb Cr of YCbCr. For normal uses, you had better use quality member rather than this table. This table is for advanced purpose only.
Definition at line 690 of file pxl_imageexport.h.