Debian Codegraph @

java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html

raw
1 <!DOCTYPE HTML>
2 <!-- NewPage -->
3 <html lang="en">
4 <head>
5 <!-- Generated by javadoc -->
6 <title>TJTransformer</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="TJTransformer";
25 }
26 }
27 catch(err) {
28 }
29 //-->
30 var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
31 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
32 var altColor = "altColor";
33 var rowColor = "rowColor";
34 var tableTab = "tableTab";
35 var activeTableTab = "activeTableTab";
36 var pathtoroot = "../../../";
37 var useModuleDirectories = true;
38 loadScripts(document, 'script');</script>
39 <noscript>
40 <div>JavaScript is disabled on your browser.</div>
41 </noscript>
42 <header role="banner">
43 <nav role="navigation">
44 <div class="fixedNav">
45 <!-- ========= START OF TOP NAVBAR ======= -->
46 <div class="topNav"><a id="navbar.top">
47 <!-- -->
48 </a>
49 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
50 <a id="navbar.top.firstrow">
51 <!-- -->
52 </a>
53 <ul class="navList" title="Navigation">
54 <li><a href="package-summary.html">Package</a></li>
55 <li class="navBarCell1Rev">Class</li>
56 <li><a href="package-tree.html">Tree</a></li>
57 <li><a href="../../../deprecated-list.html">Deprecated</a></li>
58 <li><a href="../../../index-all.html">Index</a></li>
59 <li><a href="../../../help-doc.html">Help</a></li>
60 </ul>
61 </div>
62 <div class="subNav">
63 <ul class="navList" id="allclasses_navbar_top">
64 <li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
65 </ul>
66 <ul class="navListSearch">
67 <li><label for="search">SEARCH:</label>
68 <input type="text" id="search" value="search" disabled="disabled">
69 <input type="reset" id="reset" value="reset" disabled="disabled">
70 </li>
71 </ul>
72 <div>
73 <script type="text/javascript"><!--
74 allClassesLink = document.getElementById("allclasses_navbar_top");
75 if(window==top) {
76 allClassesLink.style.display = "block";
77 }
78 else {
79 allClassesLink.style.display = "none";
80 }
81 //-->
82 </script>
83 <noscript>
84 <div>JavaScript is disabled on your browser.</div>
85 </noscript>
86 </div>
87 <div>
88 <ul class="subNavList">
89 <li>Summary:&nbsp;</li>
90 <li>Nested&nbsp;|&nbsp;</li>
91 <li>Field&nbsp;|&nbsp;</li>
92 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
93 <li><a href="#method.summary">Method</a></li>
94 </ul>
95 <ul class="subNavList">
96 <li>Detail:&nbsp;</li>
97 <li>Field&nbsp;|&nbsp;</li>
98 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
99 <li><a href="#method.detail">Method</a></li>
100 </ul>
101 </div>
102 <a id="skip.navbar.top">
103 <!-- -->
104 </a></div>
105 <!-- ========= END OF TOP NAVBAR ========= -->
106 </div>
107 <div class="navPadding">&nbsp;</div>
108 <script type="text/javascript"><!--
109 $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
110 //-->
111 </script>
112 </nav>
113 </header>
114 <!-- ======== START OF CLASS DATA ======== -->
115 <main role="main">
116 <div class="header">
117 <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.libjpegturbo.turbojpeg</a></div>
118 <h2 title="Class TJTransformer" class="title">Class TJTransformer</h2>
119 </div>
120 <div class="contentContainer">
121 <ul class="inheritance">
122 <li>java.lang.Object</li>
123 <li>
124 <ul class="inheritance">
125 <li><a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">org.libjpegturbo.turbojpeg.TJDecompressor</a></li>
126 <li>
127 <ul class="inheritance">
128 <li>org.libjpegturbo.turbojpeg.TJTransformer</li>
129 </ul>
130 </li>
131 </ul>
132 </li>
133 </ul>
134 <div class="description">
135 <ul class="blockList">
136 <li class="blockList">
137 <dl>
138 <dt>All Implemented Interfaces:</dt>
139 <dd><code>java.io.Closeable</code>, <code>java.lang.AutoCloseable</code></dd>
140 </dl>
141 <hr>
142 <pre>public class <span class="typeNameLabel">TJTransformer</span>
143 extends <a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</a></pre>
144 <div class="block">TurboJPEG lossless transformer</div>
145 </li>
146 </ul>
147 </div>
148 <div class="summary">
149 <ul class="blockList">
150 <li class="blockList">
151 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
152 <section>
153 <ul class="blockList">
154 <li class="blockList"><a id="constructor.summary">
155 <!-- -->
156 </a>
157 <h3>Constructor Summary</h3>
158 <table class="memberSummary">
159 <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
160 <tr>
161 <th class="colFirst" scope="col">Constructor</th>
162 <th class="colLast" scope="col">Description</th>
163 </tr>
164 <tr class="altColor">
165 <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">TJTransformer</a></span>()</code></th>
166 <td class="colLast">
167 <div class="block">Create a TurboJPEG lossless transformer instance.</div>
168 </td>
169 </tr>
170 <tr class="rowColor">
171 <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(byte%5B%5D)">TJTransformer</a></span>&#8203;(byte[]&nbsp;jpegImage)</code></th>
172 <td class="colLast">
173 <div class="block">Create a TurboJPEG lossless transformer instance and associate the JPEG
174 source image stored in <code>jpegImage</code> with the newly created
175 instance.</div>
176 </td>
177 </tr>
178 <tr class="altColor">
179 <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(byte%5B%5D,int)">TJTransformer</a></span>&#8203;(byte[]&nbsp;jpegImage,
180 int&nbsp;imageSize)</code></th>
181 <td class="colLast">
182 <div class="block">Create a TurboJPEG lossless transformer instance and associate the JPEG
183 source image of length <code>imageSize</code> bytes stored in
184 <code>jpegImage</code> with the newly created instance.</div>
185 </td>
186 </tr>
187 </table>
188 </li>
189 </ul>
190 </section>
191 <!-- ========== METHOD SUMMARY =========== -->
192 <section>
193 <ul class="blockList">
194 <li class="blockList"><a id="method.summary">
195 <!-- -->
196 </a>
197 <h3>Method Summary</h3>
198 <table class="memberSummary">
199 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
200 <tr>
201 <th class="colFirst" scope="col">Modifier and Type</th>
202 <th class="colSecond" scope="col">Method</th>
203 <th class="colLast" scope="col">Description</th>
204 </tr>
205 <tr id="i0" class="altColor">
206 <td class="colFirst"><code>int</code></td>
207 <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#bufSize(org.libjpegturbo.turbojpeg.TJTransform)">bufSize</a></span>&#8203;(<a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a>&nbsp;transform)</code></th>
208 <td class="colLast">
209 <div class="block">Returns the maximum size of the buffer (in bytes) required to hold a JPEG
210 image transformed, with the given transform parameters and/or cropping
211 region, from the JPEG source image associated with this transformer
212 instance.</div>
213 </td>
214 </tr>
215 <tr id="i1" class="rowColor">
216 <td class="colFirst"><code>int[]</code></td>
217 <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTransformedSizes()">getTransformedSizes</a></span>()</code></th>
218 <td class="colLast">
219 <div class="block">Returns an array containing the sizes of the transformed JPEG images
220 (in bytes) generated by the most recent transform operation.</div>
221 </td>
222 </tr>
223 <tr id="i2" class="altColor">
224 <td class="colFirst"><code>void</code></td>
225 <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setICCProfile(byte%5B%5D)">setICCProfile</a></span>&#8203;(byte[]&nbsp;iccBuf)</code></th>
226 <td class="colLast">
227 <div class="block">Embed an ICC (International Color Consortium) color management profile in
228 JPEG images generated by subsequent transform operations.</div>
229 </td>
230 </tr>
231 <tr id="i3" class="rowColor">
232 <td class="colFirst"><code>void</code></td>
233 <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transform(byte%5B%5D%5B%5D,org.libjpegturbo.turbojpeg.TJTransform%5B%5D)">transform</a></span>&#8203;(byte[][]&nbsp;dstBufs,
234 <a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a>[]&nbsp;transforms)</code></th>
235 <td class="colLast">
236 <div class="block">Losslessly transform the JPEG source image associated with this
237 transformer instance into one or more JPEG images stored in the given
238 destination buffers.</div>
239 </td>
240 </tr>
241 <tr id="i4" class="altColor">
242 <td class="colFirst"><code><a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</a>[]</code></td>
243 <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#transform(org.libjpegturbo.turbojpeg.TJTransform%5B%5D)">transform</a></span>&#8203;(<a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a>[]&nbsp;transforms)</code></th>
244 <td class="colLast">
245 <div class="block">Losslessly transform the JPEG source image associated with this
246 transformer instance and return an array of <a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><code>TJDecompressor</code></a>
247 instances, each of which has a transformed JPEG image associated with it.</div>
248 </td>
249 </tr>
250 </table>
251 <ul class="blockList">
252 <li class="blockList"><a id="methods.inherited.from.class.org.libjpegturbo.turbojpeg.TJDecompressor">
253 <!-- -->
254 </a>
255 <h3>Methods inherited from class&nbsp;org.libjpegturbo.turbojpeg.<a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</a></h3>
256 <code><a href="TJDecompressor.html#close()">close</a>, <a href="TJDecompressor.html#decompress12(int,int)">decompress12</a>, <a href="TJDecompressor.html#decompress12(short%5B%5D,int,int,int,int)">decompress12</a>, <a href="TJDecompressor.html#decompress16(int,int)">decompress16</a>, <a href="TJDecompressor.html#decompress16(short%5B%5D,int,int,int,int)">decompress16</a>, <a href="TJDecompressor.html#decompress8(byte%5B%5D,int,int,int,int)">decompress8</a>, <a href="TJDecompressor.html#decompress8(int)">decompress8</a>, <a href="TJDecompressor.html#decompress8(int%5B%5D,int,int,int,int)">decompress8</a>, <a href="TJDecompressor.html#decompress8(int,int)">decompress8</a>, <a href="TJDecompressor.html#decompress8(java.awt.image.BufferedImage)">decompress8</a>, <a href="TJDecompressor.html#decompressToYUV(int)">decompressToYUV</a>, <a href="TJDecompressor.html#decompressToYUV(int%5B%5D)">decompressToYUV</a>, <a href="TJDecompressor.html#decompressToYUV(org.libjpegturbo.turbojpeg.YUVImage)">decompressToYUV</a>, <a href="TJDecompressor.html#finalize()">finalize</a>, <a href="TJDecompressor.html#get(int)">get</a>, <a href="TJDecompressor.html#getHeight()">getHeight</a>, <a href="TJDecompressor.html#getICCProfile()">getICCProfile</a>, <a href="TJDecompressor.html#getICCSize()">getICCSize</a>, <a href="TJDecompressor.html#getJPEGBuf()">getJPEGBuf</a>, <a href="TJDecompressor.html#getJPEGSize()">getJPEGSize</a>, <a href="TJDecompressor.html#getWidth()">getWidth</a>, <a href="TJDecompressor.html#saveImage(java.lang.String,java.lang.Object,int,int,int,int,int,int)">saveImage</a>, <a href="TJDecompressor.html#set(int,int)">set</a>, <a href="TJDecompressor.html#setCroppingRegion(java.awt.Rectangle)">setCroppingRegion</a>, <a href="TJDecompressor.html#setScalingFactor(org.libjpegturbo.turbojpeg.TJScalingFactor)">setScalingFactor</a>, <a href="TJDecompressor.html#setSourceImage(byte%5B%5D,int)">setSourceImage</a>, <a href="TJDecompressor.html#setSourceImage(org.libjpegturbo.turbojpeg.YUVImage)">setSourceImage</a></code></li>
257 </ul>
258 <ul class="blockList">
259 <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
260 <!-- -->
261 </a>
262 <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
263 <code>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
264 </ul>
265 </li>
266 </ul>
267 </section>
268 </li>
269 </ul>
270 </div>
271 <div class="details">
272 <ul class="blockList">
273 <li class="blockList">
274 <!-- ========= CONSTRUCTOR DETAIL ======== -->
275 <section>
276 <ul class="blockList">
277 <li class="blockList"><a id="constructor.detail">
278 <!-- -->
279 </a>
280 <h3>Constructor Detail</h3>
281 <a id="&lt;init&gt;()">
282 <!-- -->
283 </a>
284 <ul class="blockList">
285 <li class="blockList">
286 <h4>TJTransformer</h4>
287 <pre>public&nbsp;TJTransformer()
288 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
289 <div class="block">Create a TurboJPEG lossless transformer instance.</div>
290 <dl>
291 <dt><span class="throwsLabel">Throws:</span></dt>
292 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
293 </dl>
294 </li>
295 </ul>
296 <a id="&lt;init&gt;(byte[])">
297 <!-- -->
298 </a>
299 <ul class="blockList">
300 <li class="blockList">
301 <h4>TJTransformer</h4>
302 <pre>public&nbsp;TJTransformer&#8203;(byte[]&nbsp;jpegImage)
303 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
304 <div class="block">Create a TurboJPEG lossless transformer instance and associate the JPEG
305 source image stored in <code>jpegImage</code> with the newly created
306 instance.</div>
307 <dl>
308 <dt><span class="paramLabel">Parameters:</span></dt>
309 <dd><code>jpegImage</code> - buffer containing the JPEG source image to transform.
310 (The size of the JPEG image is assumed to be the length of the array.)
311 This buffer is not modified.</dd>
312 <dt><span class="throwsLabel">Throws:</span></dt>
313 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
314 </dl>
315 </li>
316 </ul>
317 <a id="&lt;init&gt;(byte[],int)">
318 <!-- -->
319 </a>
320 <ul class="blockListLast">
321 <li class="blockList">
322 <h4>TJTransformer</h4>
323 <pre>public&nbsp;TJTransformer&#8203;(byte[]&nbsp;jpegImage,
324 int&nbsp;imageSize)
325 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
326 <div class="block">Create a TurboJPEG lossless transformer instance and associate the JPEG
327 source image of length <code>imageSize</code> bytes stored in
328 <code>jpegImage</code> with the newly created instance.</div>
329 <dl>
330 <dt><span class="paramLabel">Parameters:</span></dt>
331 <dd><code>jpegImage</code> - buffer containing the JPEG source image to transform.
332 This buffer is not modified.</dd>
333 <dd><code>imageSize</code> - size of the JPEG source image (in bytes)</dd>
334 <dt><span class="throwsLabel">Throws:</span></dt>
335 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
336 </dl>
337 </li>
338 </ul>
339 </li>
340 </ul>
341 </section>
342 <!-- ============ METHOD DETAIL ========== -->
343 <section>
344 <ul class="blockList">
345 <li class="blockList"><a id="method.detail">
346 <!-- -->
347 </a>
348 <h3>Method Detail</h3>
349 <a id="setICCProfile(byte[])">
350 <!-- -->
351 </a>
352 <ul class="blockList">
353 <li class="blockList">
354 <h4>setICCProfile</h4>
355 <pre class="methodSignature">public&nbsp;void&nbsp;setICCProfile&#8203;(byte[]&nbsp;iccBuf)
356 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
357 <div class="block">Embed an ICC (International Color Consortium) color management profile in
358 JPEG images generated by subsequent transform operations.</div>
359 <dl>
360 <dt><span class="paramLabel">Parameters:</span></dt>
361 <dd><code>iccBuf</code> - buffer containing an ICC profile. (The size of the ICC
362 profile is assumed to be the length of the array.) A copy is made of the
363 ICC profile, so this buffer can be reused as soon as this method returns.
364 Setting this parameter to null removes any ICC profile that was previously
365 associated with this transformer instance.</dd>
366 <dt><span class="throwsLabel">Throws:</span></dt>
367 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
368 </dl>
369 </li>
370 </ul>
371 <a id="bufSize(org.libjpegturbo.turbojpeg.TJTransform)">
372 <!-- -->
373 </a>
374 <ul class="blockList">
375 <li class="blockList">
376 <h4>bufSize</h4>
377 <pre class="methodSignature">public&nbsp;int&nbsp;bufSize&#8203;(<a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a>&nbsp;transform)
378 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
379 <div class="block">Returns the maximum size of the buffer (in bytes) required to hold a JPEG
380 image transformed, with the given transform parameters and/or cropping
381 region, from the JPEG source image associated with this transformer
382 instance. This function is a wrapper for <a href="TJ.html#bufSize(int,int,int)"><code>TJ.bufSize()</code></a>
383 that takes into account cropping, transposition of the width and height
384 (which affects the destination image dimensions and level of chrominance
385 subsampling), grayscale conversion, and the ICC profile (if any) that was
386 previously associated with this transformer instance (see
387 <a href="#setICCProfile(byte%5B%5D)"><code>setICCProfile()</code></a>) or extracted from the source image
388 (see <a href="TJDecompressor.html#getICCProfile()"><code>TJDecompressor.getICCProfile()</code></a> and <a href="TJ.html#PARAM_SAVEMARKERS"><code>TJ.PARAM_SAVEMARKERS</code></a>.)</div>
389 <dl>
390 <dt><span class="paramLabel">Parameters:</span></dt>
391 <dd><code>transform</code> - a <a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><code>TJTransform</code></a> instance that specifies the
392 transform parameters and/or cropping region for the transformed JPEG
393 image.</dd>
394 <dt><span class="returnLabel">Returns:</span></dt>
395 <dd>the maximum size of the buffer (in bytes) required to hold a JPEG
396 image transformed, with the given transform parameters and/or cropping
397 region, from the JPEG source image associated with this transformer
398 instance</dd>
399 <dt><span class="throwsLabel">Throws:</span></dt>
400 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
401 </dl>
402 </li>
403 </ul>
404 <a id="transform(byte[][],org.libjpegturbo.turbojpeg.TJTransform[])">
405 <!-- -->
406 </a>
407 <ul class="blockList">
408 <li class="blockList">
409 <h4>transform</h4>
410 <pre class="methodSignature">public&nbsp;void&nbsp;transform&#8203;(byte[][]&nbsp;dstBufs,
411 <a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a>[]&nbsp;transforms)
412 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
413 <div class="block">Losslessly transform the JPEG source image associated with this
414 transformer instance into one or more JPEG images stored in the given
415 destination buffers. Lossless transforms work by moving the raw
416 coefficients from one JPEG image structure to another without altering the
417 values of the coefficients. While this is typically faster than
418 decompressing the image, transforming it, and re-compressing it, lossless
419 transforms are not free. Each lossless transform requires reading and
420 performing Huffman decoding on all of the coefficients in the source
421 image, regardless of the size of the destination image. Thus, this method
422 provides a means of generating multiple transformed images from the same
423 source or of applying multiple transformations simultaneously, in order to
424 eliminate the need to read the source coefficients multiple times.</div>
425 <dl>
426 <dt><span class="paramLabel">Parameters:</span></dt>
427 <dd><code>dstBufs</code> - an array of JPEG destination buffers.
428 <code>dstbufs[i]</code> will receive a JPEG image that has been
429 transformed using the parameters in <code>transforms[i]</code>. Use
430 <a href="#bufSize(org.libjpegturbo.turbojpeg.TJTransform)"><code>bufSize()</code></a> to determine the maximum size for each buffer.</dd>
431 <dd><code>transforms</code> - an array of <a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><code>TJTransform</code></a> instances, each of
432 which specifies the transform parameters and/or cropping region for the
433 corresponding transformed JPEG image</dd>
434 <dt><span class="throwsLabel">Throws:</span></dt>
435 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
436 </dl>
437 </li>
438 </ul>
439 <a id="transform(org.libjpegturbo.turbojpeg.TJTransform[])">
440 <!-- -->
441 </a>
442 <ul class="blockList">
443 <li class="blockList">
444 <h4>transform</h4>
445 <pre class="methodSignature">public&nbsp;<a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg">TJDecompressor</a>[]&nbsp;transform&#8203;(<a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg">TJTransform</a>[]&nbsp;transforms)
446 throws <a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
447 <div class="block">Losslessly transform the JPEG source image associated with this
448 transformer instance and return an array of <a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><code>TJDecompressor</code></a>
449 instances, each of which has a transformed JPEG image associated with it.</div>
450 <dl>
451 <dt><span class="paramLabel">Parameters:</span></dt>
452 <dd><code>transforms</code> - an array of <a href="TJTransform.html" title="class in org.libjpegturbo.turbojpeg"><code>TJTransform</code></a> instances, each of
453 which specifies the transform parameters and/or cropping region for the
454 corresponding transformed JPEG image</dd>
455 <dt><span class="returnLabel">Returns:</span></dt>
456 <dd>an array of <a href="TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><code>TJDecompressor</code></a> instances, each of
457 which has a transformed JPEG image associated with it.</dd>
458 <dt><span class="throwsLabel">Throws:</span></dt>
459 <dd><code><a href="TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd>
460 </dl>
461 </li>
462 </ul>
463 <a id="getTransformedSizes()">
464 <!-- -->
465 </a>
466 <ul class="blockListLast">
467 <li class="blockList">
468 <h4>getTransformedSizes</h4>
469 <pre class="methodSignature">public&nbsp;int[]&nbsp;getTransformedSizes()</pre>
470 <div class="block">Returns an array containing the sizes of the transformed JPEG images
471 (in bytes) generated by the most recent transform operation.</div>
472 <dl>
473 <dt><span class="returnLabel">Returns:</span></dt>
474 <dd>an array containing the sizes of the transformed JPEG images
475 (in bytes) generated by the most recent transform operation.</dd>
476 </dl>
477 </li>
478 </ul>
479 </li>
480 </ul>
481 </section>
482 </li>
483 </ul>
484 </div>
485 </div>
486 </main>
487 <!-- ========= END OF CLASS DATA ========= -->
488 <footer role="contentinfo">
489 <nav role="navigation">
490 <!-- ======= START OF BOTTOM NAVBAR ====== -->
491 <div class="bottomNav"><a id="navbar.bottom">
492 <!-- -->
493 </a>
494 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
495 <a id="navbar.bottom.firstrow">
496 <!-- -->
497 </a>
498 <ul class="navList" title="Navigation">
499 <li><a href="package-summary.html">Package</a></li>
500 <li class="navBarCell1Rev">Class</li>
501 <li><a href="package-tree.html">Tree</a></li>
502 <li><a href="../../../deprecated-list.html">Deprecated</a></li>
503 <li><a href="../../../index-all.html">Index</a></li>
504 <li><a href="../../../help-doc.html">Help</a></li>
505 </ul>
506 </div>
507 <div class="subNav">
508 <ul class="navList" id="allclasses_navbar_bottom">
509 <li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
510 </ul>
511 <div>
512 <script type="text/javascript"><!--
513 allClassesLink = document.getElementById("allclasses_navbar_bottom");
514 if(window==top) {
515 allClassesLink.style.display = "block";
516 }
517 else {
518 allClassesLink.style.display = "none";
519 }
520 //-->
521 </script>
522 <noscript>
523 <div>JavaScript is disabled on your browser.</div>
524 </noscript>
525 </div>
526 <div>
527 <ul class="subNavList">
528 <li>Summary:&nbsp;</li>
529 <li>Nested&nbsp;|&nbsp;</li>
530 <li>Field&nbsp;|&nbsp;</li>
531 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
532 <li><a href="#method.summary">Method</a></li>
533 </ul>
534 <ul class="subNavList">
535 <li>Detail:&nbsp;</li>
536 <li>Field&nbsp;|&nbsp;</li>
537 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
538 <li><a href="#method.detail">Method</a></li>
539 </ul>
540 </div>
541 <a id="skip.navbar.bottom">
542 <!-- -->
543 </a></div>
544 <!-- ======== END OF BOTTOM NAVBAR ======= -->
545 </nav>
546 </footer>
547 </body>
548 </html>