Options used when encoding.
The default value is JPEG_ENCODER_OPTION_NONE (0).
You can specify values that are the bitwise OR of these constants by using JpegMpEncoder::SetOption.
- JPEG_ENCODER_OPTION_NONE
Equal to 0, you can clear options by specifying this option. - JPEG_ENCODER_OPTION_OMIT_APP1
If thumbnails are not attached, APP1 is not recorded. (If thumbnails are to be attached, APP1 is recorded regardless of the options specified.) - JPEG_ENCODER_OPTION_OMIT_DHT
DHT (Huffman table) is not recorded.
If you are decoding JPEG data for which DHT data is not recorded, you must specify JPEG_DECODER_OPTION_ENABLE_DEFAULT_DHT usingJpegMpDecoder::SetOption. Furthermore, decoding may not be possible when using a JPEG decoder other than the JpegMpDecoder class.
The return value of JpegMpEncoder::GetOption is the bitwise OR of these constants.