<li><ahref="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html"title="class in org.libjpegturbo.turbojpeg"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../org/libjpegturbo/turbojpeg/TJTransformer.html"title="class in org.libjpegturbo.turbojpeg"><spanclass="strong">Next Class</span></a></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html"title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a></code></td>
<divclass="block">This option will prevent <ahref="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][],%20org.libjpegturbo.turbojpeg.TJTransform[],%20int)"><code>TJTransformer.transform()</code></a> from outputting a JPEG image for this
<divclass="block">This option will cause <ahref="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][],%20org.libjpegturbo.turbojpeg.TJTransform[],%20int)"><code>TJTransformer.transform()</code></a> to throw an exception if the transform is not
<divclass="block">The number of lossless transform operations</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.NUMOP">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="OP_NONE">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>OP_NONE</h4>
<pre>public static final int OP_NONE</pre>
<divclass="block">Do not transform the position of the image pixels.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_NONE">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="OP_HFLIP">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>OP_HFLIP</h4>
<pre>public static final int OP_HFLIP</pre>
<divclass="block">Flip (mirror) image horizontally. This transform is imperfect if there
are any partial MCU blocks on the right edge.</div>
<divclass="block">This option will cause <ahref="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][],%20org.libjpegturbo.turbojpeg.TJTransform[],%20int)"><code>TJTransformer.transform()</code></a> to throw an exception if the transform is not
is not evenly divisible by the MCU block size (see <ahref="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)"><code>TJ.getMCUWidth(int)</code></a>
and <ahref="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)"><code>TJ.getMCUHeight(int)</code></a>), then there will be partial MCU blocks on the
will create odd-looking strips on the right or bottom edge of the image.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_PERFECT">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="OPT_TRIM">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>OPT_TRIM</h4>
<pre>public static final int OPT_TRIM</pre>
<divclass="block">This option will discard any partial MCU blocks that cannot be
transformed.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_TRIM">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="OPT_CROP">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>OPT_CROP</h4>
<pre>public static final int OPT_CROP</pre>
<divclass="block">This option will enable lossless cropping.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_CROP">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="OPT_GRAY">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>OPT_GRAY</h4>
<pre>public static final int OPT_GRAY</pre>
<divclass="block">This option will discard the color data in the input image and produce
a grayscale output image.</div>
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_GRAY">Constant Field Values</a></dd></dl>
<divclass="block">This option will prevent <ahref="../../../org/libjpegturbo/turbojpeg/TJTransformer.html#transform(byte[][],%20org.libjpegturbo.turbojpeg.TJTransform[],%20int)"><code>TJTransformer.transform()</code></a> from outputting a JPEG image for this
<dl><dt><spanclass="strong">See Also:</span></dt><dd><ahref="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_NOOUTPUT">Constant Field Values</a></dd></dl>
</li>
</ul>
<aname="op">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>op</h4>
<pre>public int op</pre>
<divclass="block">Transform operation (one of <code>OP_*</code>)</div>
</li>
</ul>
<aname="options">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>options</h4>
<pre>public int options</pre>
<divclass="block">Transform options (bitwise OR of one or more of <code>OPT_*</code>)</div>
</li>
</ul>
<aname="cf">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>cf</h4>
<pre>public <ahref="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html"title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf</pre>
<ahref="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html"title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf)
throws java.lang.Exception</pre>
<divclass="block">Create a new lossless transform instance with the given parameters.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>x</code> - the left boundary of the cropping region. This must be evenly
divisible by the MCU block width (see <ahref="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUWidth(int)"><code>TJ.getMCUWidth(int)</code></a>)</dd><dd><code>y</code> - the upper boundary of the cropping region. This must be evenly
divisible by the MCU block height (see <ahref="../../../org/libjpegturbo/turbojpeg/TJ.html#getMCUHeight(int)"><code>TJ.getMCUHeight(int)</code></a>)</dd><dd><code>w</code> - the width of the cropping region. Setting this to 0 is the
<code>y</code>).</dd><dd><code>op</code> - one of the transform operations (<code>OP_*</code>)</dd><dd><code>options</code> - the bitwise OR of one or more of the transform options
(<code>OPT_*</code>)</dd><dd><code>cf</code> - an instance of an object that implements the <ahref="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html"title="interface in org.libjpegturbo.turbojpeg"><code>TJCustomFilter</code></a> interface, or null if no custom filter is needed</dd>
<ahref="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html"title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf)
throws java.lang.Exception</pre>
<divclass="block">Create a new lossless transform instance with the given parameters.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>r</code> - a <code>Rectangle</code> instance that specifies the cropping
region. See <ahref="../../../org/libjpegturbo/turbojpeg/TJTransform.html#TJTransform(int,%20int,%20int,%20int,%20int,%20int,%20org.libjpegturbo.turbojpeg.TJCustomFilter)"><code>TJTransform(int, int, int, int, int, int, TJCustomFilter)</code></a> for more
detail.</dd><dd><code>op</code> - one of the transform operations (<code>OP_*</code>)</dd><dd><code>options</code> - the bitwise OR of one or more of the transform options
(<code>OPT_*</code>)</dd><dd><code>cf</code> - an instance of an object that implements the <ahref="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html"title="interface in org.libjpegturbo.turbojpeg"><code>TJCustomFilter</code></a> interface, or null if no custom filter is needed</dd>
<li><ahref="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html"title="class in org.libjpegturbo.turbojpeg"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../org/libjpegturbo/turbojpeg/TJTransformer.html"title="class in org.libjpegturbo.turbojpeg"><spanclass="strong">Next Class</span></a></li>