| 1 |
<!DOCTYPE HTML> |
| 2 |
<!-- NewPage --> |
| 3 |
<html lang="en"> |
| 4 |
<head> |
| 5 |
<!-- Generated by javadoc --> |
| 6 |
<title>TJTransform</title> |
| 7 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 8 |
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| 9 |
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style"> |
| 10 |
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style"> |
| 11 |
<script type="text/javascript" src="../../../script.js"></script> |
| 12 |
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script> |
| 13 |
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| 14 |
<!--[if IE]> |
| 15 |
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| 16 |
<![endif]--> |
| 17 |
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script> |
| 18 |
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script> |
| 19 |
</head> |
| 20 |
<body> |
| 21 |
<script type="text/javascript"><!-- |
| 22 |
try { |
| 23 |
if (location.href.indexOf('is-external=true') == -1) { |
| 24 |
parent.document.title="TJTransform"; |
| 25 |
} |
| 26 |
} |
| 27 |
catch(err) { |
| 28 |
} |
| 29 |
//--> |
| 30 |
var pathtoroot = "../../../"; |
| 31 |
var useModuleDirectories = true; |
| 32 |
loadScripts(document, 'script');</script> |
| 33 |
<noscript> |
| 34 |
<div>JavaScript is disabled on your browser.</div> |
| 35 |
</noscript> |
| 36 |
<header role="banner"> |
| 37 |
<nav role="navigation"> |
| 38 |
<div class="fixedNav"> |
| 39 |
<!-- ========= START OF TOP NAVBAR ======= --> |
| 40 |
<div class="topNav"><a id="navbar.top"> |
| 41 |
<!-- --> |
| 42 |
</a> |
| 43 |
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| 44 |
<a id="navbar.top.firstrow"> |
| 45 |
<!-- --> |
| 46 |
</a> |
| 47 |
<ul class="navList" title="Navigation"> |
| 48 |
<li><a href="package-summary.html">Package</a></li> |
| 49 |
<li class="navBarCell1Rev">Class</li> |
| 50 |
<li><a href="package-tree.html">Tree</a></li> |
| 51 |
<li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| 52 |
<li><a href="../../../index-all.html">Index</a></li> |
| 53 |
<li><a href="../../../help-doc.html">Help</a></li> |
| 54 |
</ul> |
| 55 |
</div> |
| 56 |
<div class="subNav"> |
| 57 |
<ul class="navList" id="allclasses_navbar_top"> |
| 58 |
<li><a href="../../../allclasses.html">All Classes</a></li> |
| 59 |
</ul> |
| 60 |
<ul class="navListSearch"> |
| 61 |
<li><label for="search">SEARCH:</label> |
| 62 |
<input type="text" id="search" value="search" disabled="disabled"> |
| 63 |
<input type="reset" id="reset" value="reset" disabled="disabled"> |
| 64 |
</li> |
| 65 |
</ul> |
| 66 |
<div> |
| 67 |
<script type="text/javascript"><!-- |
| 68 |
allClassesLink = document.getElementById("allclasses_navbar_top"); |
| 69 |
if(window==top) { |
| 70 |
allClassesLink.style.display = "block"; |
| 71 |
} |
| 72 |
else { |
| 73 |
allClassesLink.style.display = "none"; |
| 74 |
} |
| 75 |
//--> |
| 76 |
</script> |
| 77 |
<noscript> |
| 78 |
<div>JavaScript is disabled on your browser.</div> |
| 79 |
</noscript> |
| 80 |
</div> |
| 81 |
<div> |
| 82 |
<ul class="subNavList"> |
| 83 |
<li>Summary: </li> |
| 84 |
<li><a href="#nested.class.summary">Nested</a> | </li> |
| 85 |
<li><a href="#field.summary">Field</a> | </li> |
| 86 |
<li><a href="#constructor.summary">Constr</a> | </li> |
| 87 |
<li><a href="#method.summary">Method</a></li> |
| 88 |
</ul> |
| 89 |
<ul class="subNavList"> |
| 90 |
<li>Detail: </li> |
| 91 |
<li><a href="#field.detail">Field</a> | </li> |
| 92 |
<li><a href="#constructor.detail">Constr</a> | </li> |
| 93 |
<li>Method</li> |
| 94 |
</ul> |
| 95 |
</div> |
| 96 |
<a id="skip.navbar.top"> |
| 97 |
<!-- --> |
| 98 |
</a></div> |
| 99 |
<!-- ========= END OF TOP NAVBAR ========= --> |
| 100 |
</div> |
| 101 |
<div class="navPadding"> </div> |
| 102 |
<script type="text/javascript"><!-- |
| 103 |
$('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| 104 |
//--> |
| 105 |
</script> |
| 106 |
</nav> |
| 107 |
</header> |
| 108 |
<!-- ======== START OF CLASS DATA ======== --> |
| 109 |
<main role="main"> |
| 110 |
<div class="header"> |
| 111 |
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.libjpegturbo.turbojpeg</a></div> |
| 112 |
<h2 title="Class TJTransform" class="title">Class TJTransform</h2> |
| 113 |
</div> |
| 114 |
<div class="contentContainer"> |
| 115 |
<ul class="inheritance"> |
| 116 |
<li>java.lang.Object</li> |
| 117 |
<li> |
| 118 |
<ul class="inheritance"> |
| 119 |
<li>java.awt.geom.RectangularShape</li> |
| 120 |
<li> |
| 121 |
<ul class="inheritance"> |
| 122 |
<li>java.awt.geom.Rectangle2D</li> |
| 123 |
<li> |
| 124 |
<ul class="inheritance"> |
| 125 |
<li>java.awt.Rectangle</li> |
| 126 |
<li> |
| 127 |
<ul class="inheritance"> |
| 128 |
<li>org.libjpegturbo.turbojpeg.TJTransform</li> |
| 129 |
</ul> |
| 130 |
</li> |
| 131 |
</ul> |
| 132 |
</li> |
| 133 |
</ul> |
| 134 |
</li> |
| 135 |
</ul> |
| 136 |
</li> |
| 137 |
</ul> |
| 138 |
<div class="description"> |
| 139 |
<ul class="blockList"> |
| 140 |
<li class="blockList"> |
| 141 |
<dl> |
| 142 |
<dt>All Implemented Interfaces:</dt> |
| 143 |
<dd><code>java.awt.Shape</code>, <code>java.io.Serializable</code>, <code>java.lang.Cloneable</code></dd> |
| 144 |
</dl> |
| 145 |
<hr> |
| 146 |
<pre>public class <span class="typeNameLabel">TJTransform</span> |
| 147 |
extends java.awt.Rectangle</pre> |
| 148 |
<div class="block">Lossless transform parameters</div> |
| 149 |
<dl> |
| 150 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 151 |
<dd><a href="../../../serialized-form.html#org.libjpegturbo.turbojpeg.TJTransform">Serialized Form</a></dd> |
| 152 |
</dl> |
| 153 |
</li> |
| 154 |
</ul> |
| 155 |
</div> |
| 156 |
<div class="summary"> |
| 157 |
<ul class="blockList"> |
| 158 |
<li class="blockList"> |
| 159 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 160 |
<section> |
| 161 |
<ul class="blockList"> |
| 162 |
<li class="blockList"><a id="nested.class.summary"> |
| 163 |
<!-- --> |
| 164 |
</a> |
| 165 |
<h3>Nested Class Summary</h3> |
| 166 |
<ul class="blockList"> |
| 167 |
<li class="blockList"><a id="nested.classes.inherited.from.class.java.awt.geom.Rectangle2D"> |
| 168 |
<!-- --> |
| 169 |
</a> |
| 170 |
<h3>Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D</h3> |
| 171 |
<code>java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float</code></li> |
| 172 |
</ul> |
| 173 |
</li> |
| 174 |
</ul> |
| 175 |
</section> |
| 176 |
<!-- =========== FIELD SUMMARY =========== --> |
| 177 |
<section> |
| 178 |
<ul class="blockList"> |
| 179 |
<li class="blockList"><a id="field.summary"> |
| 180 |
<!-- --> |
| 181 |
</a> |
| 182 |
<h3>Field Summary</h3> |
| 183 |
<table class="memberSummary"> |
| 184 |
<caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| 185 |
<tr> |
| 186 |
<th class="colFirst" scope="col">Modifier and Type</th> |
| 187 |
<th class="colSecond" scope="col">Field</th> |
| 188 |
<th class="colLast" scope="col">Description</th> |
| 189 |
</tr> |
| 190 |
<tr class="altColor"> |
| 191 |
<td class="colFirst"><code><a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a></code></td> |
| 192 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cf">cf</a></span></code></th> |
| 193 |
<td class="colLast"> |
| 194 |
<div class="block">Custom filter instance</div> |
| 195 |
</td> |
| 196 |
</tr> |
| 197 |
<tr class="rowColor"> |
| 198 |
<td class="colFirst"><code>static int</code></td> |
| 199 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NUMOP">NUMOP</a></span></code></th> |
| 200 |
<td class="colLast"> |
| 201 |
<div class="block">The number of lossless transform operations</div> |
| 202 |
</td> |
| 203 |
</tr> |
| 204 |
<tr class="altColor"> |
| 205 |
<td class="colFirst"><code>int</code></td> |
| 206 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#op">op</a></span></code></th> |
| 207 |
<td class="colLast"> |
| 208 |
<div class="block">Transform operation (one of <a href="#OP_NONE"><code>OP_*</code></a>)</div> |
| 209 |
</td> |
| 210 |
</tr> |
| 211 |
<tr class="rowColor"> |
| 212 |
<td class="colFirst"><code>static int</code></td> |
| 213 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_HFLIP">OP_HFLIP</a></span></code></th> |
| 214 |
<td class="colLast"> |
| 215 |
<div class="block">Flip (mirror) image horizontally.</div> |
| 216 |
</td> |
| 217 |
</tr> |
| 218 |
<tr class="altColor"> |
| 219 |
<td class="colFirst"><code>static int</code></td> |
| 220 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_NONE">OP_NONE</a></span></code></th> |
| 221 |
<td class="colLast"> |
| 222 |
<div class="block">Do not transform the position of the image pixels.</div> |
| 223 |
</td> |
| 224 |
</tr> |
| 225 |
<tr class="rowColor"> |
| 226 |
<td class="colFirst"><code>static int</code></td> |
| 227 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_ROT180">OP_ROT180</a></span></code></th> |
| 228 |
<td class="colLast"> |
| 229 |
<div class="block">Rotate image 180 degrees.</div> |
| 230 |
</td> |
| 231 |
</tr> |
| 232 |
<tr class="altColor"> |
| 233 |
<td class="colFirst"><code>static int</code></td> |
| 234 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_ROT270">OP_ROT270</a></span></code></th> |
| 235 |
<td class="colLast"> |
| 236 |
<div class="block">Rotate image counter-clockwise by 90 degrees.</div> |
| 237 |
</td> |
| 238 |
</tr> |
| 239 |
<tr class="rowColor"> |
| 240 |
<td class="colFirst"><code>static int</code></td> |
| 241 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_ROT90">OP_ROT90</a></span></code></th> |
| 242 |
<td class="colLast"> |
| 243 |
<div class="block">Rotate image clockwise by 90 degrees.</div> |
| 244 |
</td> |
| 245 |
</tr> |
| 246 |
<tr class="altColor"> |
| 247 |
<td class="colFirst"><code>static int</code></td> |
| 248 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_TRANSPOSE">OP_TRANSPOSE</a></span></code></th> |
| 249 |
<td class="colLast"> |
| 250 |
<div class="block">Transpose image (flip/mirror along upper left to lower right axis).</div> |
| 251 |
</td> |
| 252 |
</tr> |
| 253 |
<tr class="rowColor"> |
| 254 |
<td class="colFirst"><code>static int</code></td> |
| 255 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_TRANSVERSE">OP_TRANSVERSE</a></span></code></th> |
| 256 |
<td class="colLast"> |
| 257 |
<div class="block">Transverse transpose image (flip/mirror along upper right to lower left |
| 258 |
axis).</div> |
| 259 |
</td> |
| 260 |
</tr> |
| 261 |
<tr class="altColor"> |
| 262 |
<td class="colFirst"><code>static int</code></td> |
| 263 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OP_VFLIP">OP_VFLIP</a></span></code></th> |
| 264 |
<td class="colLast"> |
| 265 |
<div class="block">Flip (mirror) image vertically.</div> |
| 266 |
</td> |
| 267 |
</tr> |
| 268 |
<tr class="rowColor"> |
| 269 |
<td class="colFirst"><code>static int</code></td> |
| 270 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_ARITHMETIC">OPT_ARITHMETIC</a></span></code></th> |
| 271 |
<td class="colLast"> |
| 272 |
<div class="block">Enable arithmetic entropy coding in the destination image.</div> |
| 273 |
</td> |
| 274 |
</tr> |
| 275 |
<tr class="altColor"> |
| 276 |
<td class="colFirst"><code>static int</code></td> |
| 277 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_COPYNONE">OPT_COPYNONE</a></span></code></th> |
| 278 |
<td class="colLast"> |
| 279 |
<div class="block">Do not copy any extra markers (including Exif and ICC profile data) from |
| 280 |
the source image to the destination image.</div> |
| 281 |
</td> |
| 282 |
</tr> |
| 283 |
<tr class="rowColor"> |
| 284 |
<td class="colFirst"><code>static int</code></td> |
| 285 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_CROP">OPT_CROP</a></span></code></th> |
| 286 |
<td class="colLast"> |
| 287 |
<div class="block">Enable lossless cropping.</div> |
| 288 |
</td> |
| 289 |
</tr> |
| 290 |
<tr class="altColor"> |
| 291 |
<td class="colFirst"><code>static int</code></td> |
| 292 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_GRAY">OPT_GRAY</a></span></code></th> |
| 293 |
<td class="colLast"> |
| 294 |
<div class="block">Discard the color data in the source image, and generate a grayscale |
| 295 |
destination image.</div> |
| 296 |
</td> |
| 297 |
</tr> |
| 298 |
<tr class="rowColor"> |
| 299 |
<td class="colFirst"><code>static int</code></td> |
| 300 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_NOOUTPUT">OPT_NOOUTPUT</a></span></code></th> |
| 301 |
<td class="colLast"> |
| 302 |
<div class="block">Do not generate a destination image.</div> |
| 303 |
</td> |
| 304 |
</tr> |
| 305 |
<tr class="altColor"> |
| 306 |
<td class="colFirst"><code>static int</code></td> |
| 307 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_OPTIMIZE">OPT_OPTIMIZE</a></span></code></th> |
| 308 |
<td class="colLast"> |
| 309 |
<div class="block">Enable Huffman table optimization for the destination image.</div> |
| 310 |
</td> |
| 311 |
</tr> |
| 312 |
<tr class="rowColor"> |
| 313 |
<td class="colFirst"><code>static int</code></td> |
| 314 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_PERFECT">OPT_PERFECT</a></span></code></th> |
| 315 |
<td class="colLast"> |
| 316 |
<div class="block">This option causes <a href="TJTransformer.html#transform(byte%5B%5D%5B%5D,org.libjpegturbo.turbojpeg.TJTransform%5B%5D)"><code>TJTransformer.transform()</code></a> to throw an exception if the transform is not |
| 317 |
perfect.</div> |
| 318 |
</td> |
| 319 |
</tr> |
| 320 |
<tr class="altColor"> |
| 321 |
<td class="colFirst"><code>static int</code></td> |
| 322 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_PROGRESSIVE">OPT_PROGRESSIVE</a></span></code></th> |
| 323 |
<td class="colLast"> |
| 324 |
<div class="block">Generate a progressive destination image instead of a single-scan |
| 325 |
destination image.</div> |
| 326 |
</td> |
| 327 |
</tr> |
| 328 |
<tr class="rowColor"> |
| 329 |
<td class="colFirst"><code>static int</code></td> |
| 330 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#OPT_TRIM">OPT_TRIM</a></span></code></th> |
| 331 |
<td class="colLast"> |
| 332 |
<div class="block">Discard any partial iMCUs that cannot be transformed.</div> |
| 333 |
</td> |
| 334 |
</tr> |
| 335 |
<tr class="altColor"> |
| 336 |
<td class="colFirst"><code>int</code></td> |
| 337 |
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#options">options</a></span></code></th> |
| 338 |
<td class="colLast"> |
| 339 |
<div class="block">Transform options (bitwise OR of one or more of |
| 340 |
<a href="#OPT_PERFECT"><code>OPT_*</code></a>)</div> |
| 341 |
</td> |
| 342 |
</tr> |
| 343 |
</table> |
| 344 |
<ul class="blockList"> |
| 345 |
<li class="blockList"><a id="fields.inherited.from.class.java.awt.Rectangle"> |
| 346 |
<!-- --> |
| 347 |
</a> |
| 348 |
<h3>Fields inherited from class java.awt.Rectangle</h3> |
| 349 |
<code>height, width, x, y</code></li> |
| 350 |
</ul> |
| 351 |
<ul class="blockList"> |
| 352 |
<li class="blockList"><a id="fields.inherited.from.class.java.awt.geom.Rectangle2D"> |
| 353 |
<!-- --> |
| 354 |
</a> |
| 355 |
<h3>Fields inherited from class java.awt.geom.Rectangle2D</h3> |
| 356 |
<code>OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP</code></li> |
| 357 |
</ul> |
| 358 |
</li> |
| 359 |
</ul> |
| 360 |
</section> |
| 361 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 362 |
<section> |
| 363 |
<ul class="blockList"> |
| 364 |
<li class="blockList"><a id="constructor.summary"> |
| 365 |
<!-- --> |
| 366 |
</a> |
| 367 |
<h3>Constructor Summary</h3> |
| 368 |
<table class="memberSummary"> |
| 369 |
<caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| 370 |
<tr> |
| 371 |
<th class="colFirst" scope="col">Constructor</th> |
| 372 |
<th class="colLast" scope="col">Description</th> |
| 373 |
</tr> |
| 374 |
<tr class="altColor"> |
| 375 |
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">TJTransform</a></span>()</code></th> |
| 376 |
<td class="colLast"> |
| 377 |
<div class="block">Create a new lossless transform instance.</div> |
| 378 |
</td> |
| 379 |
</tr> |
| 380 |
<tr class="rowColor"> |
| 381 |
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int,int,int,int,org.libjpegturbo.turbojpeg.TJCustomFilter)">TJTransform</a></span>​(int x, |
| 382 |
int y, |
| 383 |
int w, |
| 384 |
int h, |
| 385 |
int op, |
| 386 |
int options, |
| 387 |
<a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf)</code></th> |
| 388 |
<td class="colLast"> |
| 389 |
<div class="block">Create a new lossless transform instance with the given parameters.</div> |
| 390 |
</td> |
| 391 |
</tr> |
| 392 |
<tr class="altColor"> |
| 393 |
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.awt.Rectangle,int,int,org.libjpegturbo.turbojpeg.TJCustomFilter)">TJTransform</a></span>​(java.awt.Rectangle r, |
| 394 |
int op, |
| 395 |
int options, |
| 396 |
<a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf)</code></th> |
| 397 |
<td class="colLast"> |
| 398 |
<div class="block">Create a new lossless transform instance with the given parameters.</div> |
| 399 |
</td> |
| 400 |
</tr> |
| 401 |
</table> |
| 402 |
</li> |
| 403 |
</ul> |
| 404 |
</section> |
| 405 |
<!-- ========== METHOD SUMMARY =========== --> |
| 406 |
<section> |
| 407 |
<ul class="blockList"> |
| 408 |
<li class="blockList"><a id="method.summary"> |
| 409 |
<!-- --> |
| 410 |
</a> |
| 411 |
<h3>Method Summary</h3> |
| 412 |
<ul class="blockList"> |
| 413 |
<li class="blockList"><a id="methods.inherited.from.class.java.awt.Rectangle"> |
| 414 |
<!-- --> |
| 415 |
</a> |
| 416 |
<h3>Methods inherited from class java.awt.Rectangle</h3> |
| 417 |
<code>add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union</code></li> |
| 418 |
</ul> |
| 419 |
<ul class="blockList"> |
| 420 |
<li class="blockList"><a id="methods.inherited.from.class.java.awt.geom.Rectangle2D"> |
| 421 |
<!-- --> |
| 422 |
</a> |
| 423 |
<h3>Methods inherited from class java.awt.geom.Rectangle2D</h3> |
| 424 |
<code>add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union</code></li> |
| 425 |
</ul> |
| 426 |
<ul class="blockList"> |
| 427 |
<li class="blockList"><a id="methods.inherited.from.class.java.awt.geom.RectangularShape"> |
| 428 |
<!-- --> |
| 429 |
</a> |
| 430 |
<h3>Methods inherited from class java.awt.geom.RectangularShape</h3> |
| 431 |
<code>clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal</code></li> |
| 432 |
</ul> |
| 433 |
<ul class="blockList"> |
| 434 |
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| 435 |
<!-- --> |
| 436 |
</a> |
| 437 |
<h3>Methods inherited from class java.lang.Object</h3> |
| 438 |
<code>finalize, getClass, notify, notifyAll, wait, wait, wait</code></li> |
| 439 |
</ul> |
| 440 |
<ul class="blockList"> |
| 441 |
<li class="blockList"><a id="methods.inherited.from.class.java.awt.Shape"> |
| 442 |
<!-- --> |
| 443 |
</a> |
| 444 |
<h3>Methods inherited from interface java.awt.Shape</h3> |
| 445 |
<code>contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects</code></li> |
| 446 |
</ul> |
| 447 |
</li> |
| 448 |
</ul> |
| 449 |
</section> |
| 450 |
</li> |
| 451 |
</ul> |
| 452 |
</div> |
| 453 |
<div class="details"> |
| 454 |
<ul class="blockList"> |
| 455 |
<li class="blockList"> |
| 456 |
<!-- ============ FIELD DETAIL =========== --> |
| 457 |
<section> |
| 458 |
<ul class="blockList"> |
| 459 |
<li class="blockList"><a id="field.detail"> |
| 460 |
<!-- --> |
| 461 |
</a> |
| 462 |
<h3>Field Detail</h3> |
| 463 |
<a id="NUMOP"> |
| 464 |
<!-- --> |
| 465 |
</a> |
| 466 |
<ul class="blockList"> |
| 467 |
<li class="blockList"> |
| 468 |
<h4>NUMOP</h4> |
| 469 |
<pre>public static final int NUMOP</pre> |
| 470 |
<div class="block">The number of lossless transform operations</div> |
| 471 |
<dl> |
| 472 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 473 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.NUMOP">Constant Field Values</a></dd> |
| 474 |
</dl> |
| 475 |
</li> |
| 476 |
</ul> |
| 477 |
<a id="OP_NONE"> |
| 478 |
<!-- --> |
| 479 |
</a> |
| 480 |
<ul class="blockList"> |
| 481 |
<li class="blockList"> |
| 482 |
<h4>OP_NONE</h4> |
| 483 |
<pre>public static final int OP_NONE</pre> |
| 484 |
<div class="block">Do not transform the position of the image pixels.</div> |
| 485 |
<dl> |
| 486 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 487 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_NONE">Constant Field Values</a></dd> |
| 488 |
</dl> |
| 489 |
</li> |
| 490 |
</ul> |
| 491 |
<a id="OP_HFLIP"> |
| 492 |
<!-- --> |
| 493 |
</a> |
| 494 |
<ul class="blockList"> |
| 495 |
<li class="blockList"> |
| 496 |
<h4>OP_HFLIP</h4> |
| 497 |
<pre>public static final int OP_HFLIP</pre> |
| 498 |
<div class="block">Flip (mirror) image horizontally. This transform is imperfect if there |
| 499 |
are any partial iMCUs on the right edge.</div> |
| 500 |
<dl> |
| 501 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 502 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 503 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_HFLIP">Constant Field Values</a></dd> |
| 504 |
</dl> |
| 505 |
</li> |
| 506 |
</ul> |
| 507 |
<a id="OP_VFLIP"> |
| 508 |
<!-- --> |
| 509 |
</a> |
| 510 |
<ul class="blockList"> |
| 511 |
<li class="blockList"> |
| 512 |
<h4>OP_VFLIP</h4> |
| 513 |
<pre>public static final int OP_VFLIP</pre> |
| 514 |
<div class="block">Flip (mirror) image vertically. This transform is imperfect if there are |
| 515 |
any partial iMCUs on the bottom edge.</div> |
| 516 |
<dl> |
| 517 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 518 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 519 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_VFLIP">Constant Field Values</a></dd> |
| 520 |
</dl> |
| 521 |
</li> |
| 522 |
</ul> |
| 523 |
<a id="OP_TRANSPOSE"> |
| 524 |
<!-- --> |
| 525 |
</a> |
| 526 |
<ul class="blockList"> |
| 527 |
<li class="blockList"> |
| 528 |
<h4>OP_TRANSPOSE</h4> |
| 529 |
<pre>public static final int OP_TRANSPOSE</pre> |
| 530 |
<div class="block">Transpose image (flip/mirror along upper left to lower right axis). This |
| 531 |
transform is always perfect.</div> |
| 532 |
<dl> |
| 533 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 534 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 535 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_TRANSPOSE">Constant Field Values</a></dd> |
| 536 |
</dl> |
| 537 |
</li> |
| 538 |
</ul> |
| 539 |
<a id="OP_TRANSVERSE"> |
| 540 |
<!-- --> |
| 541 |
</a> |
| 542 |
<ul class="blockList"> |
| 543 |
<li class="blockList"> |
| 544 |
<h4>OP_TRANSVERSE</h4> |
| 545 |
<pre>public static final int OP_TRANSVERSE</pre> |
| 546 |
<div class="block">Transverse transpose image (flip/mirror along upper right to lower left |
| 547 |
axis). This transform is imperfect if there are any partial iMCUs in the |
| 548 |
image.</div> |
| 549 |
<dl> |
| 550 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 551 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 552 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_TRANSVERSE">Constant Field Values</a></dd> |
| 553 |
</dl> |
| 554 |
</li> |
| 555 |
</ul> |
| 556 |
<a id="OP_ROT90"> |
| 557 |
<!-- --> |
| 558 |
</a> |
| 559 |
<ul class="blockList"> |
| 560 |
<li class="blockList"> |
| 561 |
<h4>OP_ROT90</h4> |
| 562 |
<pre>public static final int OP_ROT90</pre> |
| 563 |
<div class="block">Rotate image clockwise by 90 degrees. This transform is imperfect if |
| 564 |
there are any partial iMCUs on the bottom edge.</div> |
| 565 |
<dl> |
| 566 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 567 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 568 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_ROT90">Constant Field Values</a></dd> |
| 569 |
</dl> |
| 570 |
</li> |
| 571 |
</ul> |
| 572 |
<a id="OP_ROT180"> |
| 573 |
<!-- --> |
| 574 |
</a> |
| 575 |
<ul class="blockList"> |
| 576 |
<li class="blockList"> |
| 577 |
<h4>OP_ROT180</h4> |
| 578 |
<pre>public static final int OP_ROT180</pre> |
| 579 |
<div class="block">Rotate image 180 degrees. This transform is imperfect if there are any |
| 580 |
partial iMCUs in the image.</div> |
| 581 |
<dl> |
| 582 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 583 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 584 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_ROT180">Constant Field Values</a></dd> |
| 585 |
</dl> |
| 586 |
</li> |
| 587 |
</ul> |
| 588 |
<a id="OP_ROT270"> |
| 589 |
<!-- --> |
| 590 |
</a> |
| 591 |
<ul class="blockList"> |
| 592 |
<li class="blockList"> |
| 593 |
<h4>OP_ROT270</h4> |
| 594 |
<pre>public static final int OP_ROT270</pre> |
| 595 |
<div class="block">Rotate image counter-clockwise by 90 degrees. This transform is imperfect |
| 596 |
if there are any partial iMCUs on the right edge.</div> |
| 597 |
<dl> |
| 598 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 599 |
<dd><a href="#OPT_PERFECT"><code>OPT_PERFECT</code></a>, |
| 600 |
<a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OP_ROT270">Constant Field Values</a></dd> |
| 601 |
</dl> |
| 602 |
</li> |
| 603 |
</ul> |
| 604 |
<a id="OPT_PERFECT"> |
| 605 |
<!-- --> |
| 606 |
</a> |
| 607 |
<ul class="blockList"> |
| 608 |
<li class="blockList"> |
| 609 |
<h4>OPT_PERFECT</h4> |
| 610 |
<pre>public static final int OPT_PERFECT</pre> |
| 611 |
<div class="block">This option causes <a href="TJTransformer.html#transform(byte%5B%5D%5B%5D,org.libjpegturbo.turbojpeg.TJTransform%5B%5D)"><code>TJTransformer.transform()</code></a> to throw an exception if the transform is not |
| 612 |
perfect. Lossless transforms operate on iMCUs, the size of which depends |
| 613 |
on the level of chrominance subsampling used. If the image's width or |
| 614 |
height is not evenly divisible by the iMCU size (see <a href="TJ.html#getMCUWidth(int)"><code>TJ.getMCUWidth()</code></a> and <a href="TJ.html#getMCUHeight(int)"><code>TJ.getMCUHeight()</code></a>), then |
| 615 |
there will be partial iMCUs on the right and/or bottom edges. It is not |
| 616 |
possible to move these partial iMCUs to the top or left of the image, so |
| 617 |
any transform that would require that is "imperfect." If this option is |
| 618 |
not specified, then any partial iMCUs that cannot be transformed will be |
| 619 |
left in place, which will create odd-looking strips on the right or bottom |
| 620 |
edge of the image.</div> |
| 621 |
<dl> |
| 622 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 623 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_PERFECT">Constant Field Values</a></dd> |
| 624 |
</dl> |
| 625 |
</li> |
| 626 |
</ul> |
| 627 |
<a id="OPT_TRIM"> |
| 628 |
<!-- --> |
| 629 |
</a> |
| 630 |
<ul class="blockList"> |
| 631 |
<li class="blockList"> |
| 632 |
<h4>OPT_TRIM</h4> |
| 633 |
<pre>public static final int OPT_TRIM</pre> |
| 634 |
<div class="block">Discard any partial iMCUs that cannot be transformed.</div> |
| 635 |
<dl> |
| 636 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 637 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_TRIM">Constant Field Values</a></dd> |
| 638 |
</dl> |
| 639 |
</li> |
| 640 |
</ul> |
| 641 |
<a id="OPT_CROP"> |
| 642 |
<!-- --> |
| 643 |
</a> |
| 644 |
<ul class="blockList"> |
| 645 |
<li class="blockList"> |
| 646 |
<h4>OPT_CROP</h4> |
| 647 |
<pre>public static final int OPT_CROP</pre> |
| 648 |
<div class="block">Enable lossless cropping.</div> |
| 649 |
<dl> |
| 650 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 651 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_CROP">Constant Field Values</a></dd> |
| 652 |
</dl> |
| 653 |
</li> |
| 654 |
</ul> |
| 655 |
<a id="OPT_GRAY"> |
| 656 |
<!-- --> |
| 657 |
</a> |
| 658 |
<ul class="blockList"> |
| 659 |
<li class="blockList"> |
| 660 |
<h4>OPT_GRAY</h4> |
| 661 |
<pre>public static final int OPT_GRAY</pre> |
| 662 |
<div class="block">Discard the color data in the source image, and generate a grayscale |
| 663 |
destination image.</div> |
| 664 |
<dl> |
| 665 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 666 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_GRAY">Constant Field Values</a></dd> |
| 667 |
</dl> |
| 668 |
</li> |
| 669 |
</ul> |
| 670 |
<a id="OPT_NOOUTPUT"> |
| 671 |
<!-- --> |
| 672 |
</a> |
| 673 |
<ul class="blockList"> |
| 674 |
<li class="blockList"> |
| 675 |
<h4>OPT_NOOUTPUT</h4> |
| 676 |
<pre>public static final int OPT_NOOUTPUT</pre> |
| 677 |
<div class="block">Do not generate a destination image. This can be used in conjunction with |
| 678 |
a custom filter to capture the transformed DCT coefficients without |
| 679 |
transcoding them.</div> |
| 680 |
<dl> |
| 681 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 682 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_NOOUTPUT">Constant Field Values</a></dd> |
| 683 |
</dl> |
| 684 |
</li> |
| 685 |
</ul> |
| 686 |
<a id="OPT_PROGRESSIVE"> |
| 687 |
<!-- --> |
| 688 |
</a> |
| 689 |
<ul class="blockList"> |
| 690 |
<li class="blockList"> |
| 691 |
<h4>OPT_PROGRESSIVE</h4> |
| 692 |
<pre>public static final int OPT_PROGRESSIVE</pre> |
| 693 |
<div class="block">Generate a progressive destination image instead of a single-scan |
| 694 |
destination image. Progressive JPEG images generally have better |
| 695 |
compression ratios than single-scan JPEG images (much better if the image |
| 696 |
has large areas of solid color), but progressive JPEG decompression is |
| 697 |
considerably slower than single-scan JPEG decompression. Can be combined |
| 698 |
with <a href="#OPT_ARITHMETIC"><code>OPT_ARITHMETIC</code></a>. Implies <a href="#OPT_OPTIMIZE"><code>OPT_OPTIMIZE</code></a> unless |
| 699 |
<a href="#OPT_ARITHMETIC"><code>OPT_ARITHMETIC</code></a> is also specified.</div> |
| 700 |
<dl> |
| 701 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 702 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_PROGRESSIVE">Constant Field Values</a></dd> |
| 703 |
</dl> |
| 704 |
</li> |
| 705 |
</ul> |
| 706 |
<a id="OPT_COPYNONE"> |
| 707 |
<!-- --> |
| 708 |
</a> |
| 709 |
<ul class="blockList"> |
| 710 |
<li class="blockList"> |
| 711 |
<h4>OPT_COPYNONE</h4> |
| 712 |
<pre>public static final int OPT_COPYNONE</pre> |
| 713 |
<div class="block">Do not copy any extra markers (including Exif and ICC profile data) from |
| 714 |
the source image to the destination image.</div> |
| 715 |
<dl> |
| 716 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 717 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_COPYNONE">Constant Field Values</a></dd> |
| 718 |
</dl> |
| 719 |
</li> |
| 720 |
</ul> |
| 721 |
<a id="OPT_ARITHMETIC"> |
| 722 |
<!-- --> |
| 723 |
</a> |
| 724 |
<ul class="blockList"> |
| 725 |
<li class="blockList"> |
| 726 |
<h4>OPT_ARITHMETIC</h4> |
| 727 |
<pre>public static final int OPT_ARITHMETIC</pre> |
| 728 |
<div class="block">Enable arithmetic entropy coding in the destination image. Arithmetic |
| 729 |
entropy coding generally improves compression relative to Huffman entropy |
| 730 |
coding (the default), but it reduces decompression performance |
| 731 |
considerably. Can be combined with <a href="#OPT_PROGRESSIVE"><code>OPT_PROGRESSIVE</code></a>.</div> |
| 732 |
<dl> |
| 733 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 734 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_ARITHMETIC">Constant Field Values</a></dd> |
| 735 |
</dl> |
| 736 |
</li> |
| 737 |
</ul> |
| 738 |
<a id="OPT_OPTIMIZE"> |
| 739 |
<!-- --> |
| 740 |
</a> |
| 741 |
<ul class="blockList"> |
| 742 |
<li class="blockList"> |
| 743 |
<h4>OPT_OPTIMIZE</h4> |
| 744 |
<pre>public static final int OPT_OPTIMIZE</pre> |
| 745 |
<div class="block">Enable Huffman table optimization for the destination image. Huffman |
| 746 |
table optimization improves compression slightly (generally 5% or less.)</div> |
| 747 |
<dl> |
| 748 |
<dt><span class="seeLabel">See Also:</span></dt> |
| 749 |
<dd><a href="../../../constant-values.html#org.libjpegturbo.turbojpeg.TJTransform.OPT_OPTIMIZE">Constant Field Values</a></dd> |
| 750 |
</dl> |
| 751 |
</li> |
| 752 |
</ul> |
| 753 |
<a id="op"> |
| 754 |
<!-- --> |
| 755 |
</a> |
| 756 |
<ul class="blockList"> |
| 757 |
<li class="blockList"> |
| 758 |
<h4>op</h4> |
| 759 |
<pre>public int op</pre> |
| 760 |
<div class="block">Transform operation (one of <a href="#OP_NONE"><code>OP_*</code></a>)</div> |
| 761 |
</li> |
| 762 |
</ul> |
| 763 |
<a id="options"> |
| 764 |
<!-- --> |
| 765 |
</a> |
| 766 |
<ul class="blockList"> |
| 767 |
<li class="blockList"> |
| 768 |
<h4>options</h4> |
| 769 |
<pre>public int options</pre> |
| 770 |
<div class="block">Transform options (bitwise OR of one or more of |
| 771 |
<a href="#OPT_PERFECT"><code>OPT_*</code></a>)</div> |
| 772 |
</li> |
| 773 |
</ul> |
| 774 |
<a id="cf"> |
| 775 |
<!-- --> |
| 776 |
</a> |
| 777 |
<ul class="blockListLast"> |
| 778 |
<li class="blockList"> |
| 779 |
<h4>cf</h4> |
| 780 |
<pre>public <a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf</pre> |
| 781 |
<div class="block">Custom filter instance</div> |
| 782 |
</li> |
| 783 |
</ul> |
| 784 |
</li> |
| 785 |
</ul> |
| 786 |
</section> |
| 787 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 788 |
<section> |
| 789 |
<ul class="blockList"> |
| 790 |
<li class="blockList"><a id="constructor.detail"> |
| 791 |
<!-- --> |
| 792 |
</a> |
| 793 |
<h3>Constructor Detail</h3> |
| 794 |
<a id="<init>()"> |
| 795 |
<!-- --> |
| 796 |
</a> |
| 797 |
<ul class="blockList"> |
| 798 |
<li class="blockList"> |
| 799 |
<h4>TJTransform</h4> |
| 800 |
<pre>public TJTransform()</pre> |
| 801 |
<div class="block">Create a new lossless transform instance.</div> |
| 802 |
</li> |
| 803 |
</ul> |
| 804 |
<a id="<init>(int,int,int,int,int,int,org.libjpegturbo.turbojpeg.TJCustomFilter)"> |
| 805 |
<!-- --> |
| 806 |
</a> |
| 807 |
<ul class="blockList"> |
| 808 |
<li class="blockList"> |
| 809 |
<h4>TJTransform</h4> |
| 810 |
<pre>public TJTransform​(int x, |
| 811 |
int y, |
| 812 |
int w, |
| 813 |
int h, |
| 814 |
int op, |
| 815 |
int options, |
| 816 |
<a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf)</pre> |
| 817 |
<div class="block">Create a new lossless transform instance with the given parameters.</div> |
| 818 |
<dl> |
| 819 |
<dt><span class="paramLabel">Parameters:</span></dt> |
| 820 |
<dd><code>x</code> - the left boundary of the cropping region. This must be evenly |
| 821 |
divisible by the iMCU width (see <a href="TJ.html#getMCUWidth(int)"><code>TJ.getMCUWidth()</code></a>) |
| 822 |
of the destination image.</dd> |
| 823 |
<dd><code>y</code> - the upper boundary of the cropping region. This must be evenly |
| 824 |
divisible by the iMCU height (see <a href="TJ.html#getMCUHeight(int)"><code>TJ.getMCUHeight()</code></a>) of the destination image.</dd> |
| 825 |
<dd><code>w</code> - the width of the cropping region. Setting this to 0 is the |
| 826 |
equivalent of setting it to (width of the source JPEG image - |
| 827 |
<code>x</code>).</dd> |
| 828 |
<dd><code>h</code> - the height of the cropping region. Setting this to 0 is the |
| 829 |
equivalent of setting it to (height of the source JPEG image - |
| 830 |
<code>y</code>).</dd> |
| 831 |
<dd><code>op</code> - one of the transform operations (<a href="#OP_NONE"><code>OP_*</code></a>)</dd> |
| 832 |
<dd><code>options</code> - the bitwise OR of one or more of the transform options |
| 833 |
(<a href="#OPT_PERFECT"><code>OPT_*</code></a>)</dd> |
| 834 |
<dd><code>cf</code> - an instance of an object that implements the |
| 835 |
<a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg"><code>TJCustomFilter</code></a> interface, or null if no custom filter is needed</dd> |
| 836 |
</dl> |
| 837 |
</li> |
| 838 |
</ul> |
| 839 |
<a id="<init>(java.awt.Rectangle,int,int,org.libjpegturbo.turbojpeg.TJCustomFilter)"> |
| 840 |
<!-- --> |
| 841 |
</a> |
| 842 |
<ul class="blockListLast"> |
| 843 |
<li class="blockList"> |
| 844 |
<h4>TJTransform</h4> |
| 845 |
<pre>public TJTransform​(java.awt.Rectangle r, |
| 846 |
int op, |
| 847 |
int options, |
| 848 |
<a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg">TJCustomFilter</a> cf)</pre> |
| 849 |
<div class="block">Create a new lossless transform instance with the given parameters.</div> |
| 850 |
<dl> |
| 851 |
<dt><span class="paramLabel">Parameters:</span></dt> |
| 852 |
<dd><code>r</code> - a <code>java.awt.Rectangle</code> instance that specifies the |
| 853 |
cropping region. See |
| 854 |
<a href="#%3Cinit%3E(int,int,int,int,int,int,org.libjpegturbo.turbojpeg.TJCustomFilter)"><code>TJTransform(int, int, int, int, int, int, TJCustomFilter)</code></a> for |
| 855 |
more details.</dd> |
| 856 |
<dd><code>op</code> - one of the transform operations (<a href="#OP_NONE"><code>OP_*</code></a>)</dd> |
| 857 |
<dd><code>options</code> - the bitwise OR of one or more of the transform options |
| 858 |
(<a href="#OPT_PERFECT"><code>OPT_*</code></a>)</dd> |
| 859 |
<dd><code>cf</code> - an instance of an object that implements the |
| 860 |
<a href="TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg"><code>TJCustomFilter</code></a> interface, or null if no custom filter is needed</dd> |
| 861 |
</dl> |
| 862 |
</li> |
| 863 |
</ul> |
| 864 |
</li> |
| 865 |
</ul> |
| 866 |
</section> |
| 867 |
</li> |
| 868 |
</ul> |
| 869 |
</div> |
| 870 |
</div> |
| 871 |
</main> |
| 872 |
<!-- ========= END OF CLASS DATA ========= --> |
| 873 |
<footer role="contentinfo"> |
| 874 |
<nav role="navigation"> |
| 875 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 876 |
<div class="bottomNav"><a id="navbar.bottom"> |
| 877 |
<!-- --> |
| 878 |
</a> |
| 879 |
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| 880 |
<a id="navbar.bottom.firstrow"> |
| 881 |
<!-- --> |
| 882 |
</a> |
| 883 |
<ul class="navList" title="Navigation"> |
| 884 |
<li><a href="package-summary.html">Package</a></li> |
| 885 |
<li class="navBarCell1Rev">Class</li> |
| 886 |
<li><a href="package-tree.html">Tree</a></li> |
| 887 |
<li><a href="../../../deprecated-list.html">Deprecated</a></li> |
| 888 |
<li><a href="../../../index-all.html">Index</a></li> |
| 889 |
<li><a href="../../../help-doc.html">Help</a></li> |
| 890 |
</ul> |
| 891 |
</div> |
| 892 |
<div class="subNav"> |
| 893 |
<ul class="navList" id="allclasses_navbar_bottom"> |
| 894 |
<li><a href="../../../allclasses.html">All Classes</a></li> |
| 895 |
</ul> |
| 896 |
<div> |
| 897 |
<script type="text/javascript"><!-- |
| 898 |
allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| 899 |
if(window==top) { |
| 900 |
allClassesLink.style.display = "block"; |
| 901 |
} |
| 902 |
else { |
| 903 |
allClassesLink.style.display = "none"; |
| 904 |
} |
| 905 |
//--> |
| 906 |
</script> |
| 907 |
<noscript> |
| 908 |
<div>JavaScript is disabled on your browser.</div> |
| 909 |
</noscript> |
| 910 |
</div> |
| 911 |
<div> |
| 912 |
<ul class="subNavList"> |
| 913 |
<li>Summary: </li> |
| 914 |
<li><a href="#nested.class.summary">Nested</a> | </li> |
| 915 |
<li><a href="#field.summary">Field</a> | </li> |
| 916 |
<li><a href="#constructor.summary">Constr</a> | </li> |
| 917 |
<li><a href="#method.summary">Method</a></li> |
| 918 |
</ul> |
| 919 |
<ul class="subNavList"> |
| 920 |
<li>Detail: </li> |
| 921 |
<li><a href="#field.detail">Field</a> | </li> |
| 922 |
<li><a href="#constructor.detail">Constr</a> | </li> |
| 923 |
<li>Method</li> |
| 924 |
</ul> |
| 925 |
</div> |
| 926 |
<a id="skip.navbar.bottom"> |
| 927 |
<!-- --> |
| 928 |
</a></div> |
| 929 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 930 |
</nav> |
| 931 |
</footer> |
| 932 |
</body> |
| 933 |
</html> |