1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>EncoderOption</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/jpeg/Overview.html">jpeg</a>::<a href="../../../nn/jpeg/CTR/Overview.html">CTR</a>::EncoderOption</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum EncoderOption; 15</pre> 16 </div> 17<h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22<th>Value</th> 23<td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27<th>JPEG_ENCODER_OPTION_NONE</th> 28 <td> 29 </td> 30 </tr> 31 <tr> 32<th>JPEG_ENCODER_OPTION_OMIT_APP1</th> 33 <td> 34 </td> 35 </tr> 36 <tr> 37<th>JPEG_ENCODER_OPTION_OMIT_DHT</th> 38 <td> 39 </td> 40 </tr> 41 </table> </div> 42<h2>Description</h2> 43 <div class="section"> 44<p>Options used when encoding.</p><p>The default value is JPEG_ENCODER_OPTION_NONE (0).</p><p>You can specify values that are the bitwise OR of these constants by using <a href="../../../nn/jpeg/CTR/JpegMpEncoder/SetOption.html">JpegMpEncoder::SetOption</a>.</p><p><UL> <LI> JPEG_ENCODER_OPTION_NONE<br /> Equal to 0, you can clear options by specifying this option. </p><p><LI> JPEG_ENCODER_OPTION_OMIT_APP1<br /> If thumbnails are not attached, APP1 is not recorded. (If thumbnails are to be attached, APP1 is recorded regardless of the options specified.)</p><p><LI> JPEG_ENCODER_OPTION_OMIT_DHT<br /> DHT (Huffman table) is not recorded.<br />If you are decoding JPEG data for which DHT data is not recorded, you must specify JPEG_DECODER_OPTION_ENABLE_DEFAULT_DHT using<a href="../../../nn/jpeg/CTR/JpegMpDecoder/SetOption.html">JpegMpDecoder::SetOption</a>. Furthermore, decoding may not be possible when using a JPEG decoder other than the <a href="../../../nn/jpeg/CTR/JpegMpDecoder/Overview.html">JpegMpDecoder</a> class.</UL></p><p>The return value of <a href="../../../nn/jpeg/CTR/JpegMpEncoder/GetOption.html">JpegMpEncoder::GetOption</a> is the bitwise OR of these constants.</p><!-- write here --></div> 45<h2>Revision History</h2> 46 <div class="section"> 47 <dl class="history"> 48 <dt>2010/10/21</dt> 49<dd>Initial version.<br /> 50 </dd> 51 </dl> 52 </div> 53 <hr><p>CONFIDENTIAL</p></body> 54</html> 55