TurboJPEG doc tweaks

- Clarify that YUV encoding performs downsampling as well as color
  conversion.

- Clarify that TJPARAM_LOSSLESS is ignored by tj3CompressFromYUV*8().

- Clarify that tj3CompressFromYUV*8() generates only YCbCr or grayscale
  JPEG images, i.e. that TJPARAM_COLORSPACE has no effect.
This commit is contained in:
DRC
2025-10-23 10:41:16 -04:00
parent 6d48aaacd2
commit 466c344878
29 changed files with 70 additions and 111 deletions

View File

@@ -321,10 +321,10 @@ Functions</h2></td></tr>
<tr class="memdesc:ga77901b71d0471784f318ada31ff4e7bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compress a packed-pixel RGB, grayscale, or CMYK image with 13 to 16 bits of data precision per sample into a lossless JPEG image with the same data precision. <br /></td></tr>
<tr class="separator:ga77901b71d0471784f318ada31ff4e7bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9f5ace3e73805b476c95dda9f8d0cd0" id="r_gac9f5ace3e73805b476c95dda9f8d0cd0"><td class="memItemLeft" align="right" valign="top">DLLEXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___turbo_j_p_e_g.html#gac9f5ace3e73805b476c95dda9f8d0cd0">tj3CompressFromYUVPlanes8</a> (<a class="el" href="group___turbo_j_p_e_g.html#ga758d2634ecb4949de7815cba621f5763">tjhandle</a> handle, const unsigned char *const *srcPlanes, int width, const int *strides, int height, unsigned char **jpegBuf, size_t *jpegSize)</td></tr>
<tr class="memdesc:gac9f5ace3e73805b476c95dda9f8d0cd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compress a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes into an 8-bit-per-sample lossy JPEG image. <br /></td></tr>
<tr class="memdesc:gac9f5ace3e73805b476c95dda9f8d0cd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compress a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes into an 8-bit-per-sample lossy <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720a7389b8f65bb387ffedce3efd0d78ec75">YCbCr</a> or <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720ab3e7d6a87f695e45b81c1b5262b5a50a">grayscale</a> JPEG image. <br /></td></tr>
<tr class="separator:gac9f5ace3e73805b476c95dda9f8d0cd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga041c870d9c669eb3f385c78f4346c43f" id="r_ga041c870d9c669eb3f385c78f4346c43f"><td class="memItemLeft" align="right" valign="top">DLLEXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___turbo_j_p_e_g.html#ga041c870d9c669eb3f385c78f4346c43f">tj3CompressFromYUV8</a> (<a class="el" href="group___turbo_j_p_e_g.html#ga758d2634ecb4949de7815cba621f5763">tjhandle</a> handle, const unsigned char *srcBuf, int width, int align, int height, unsigned char **jpegBuf, size_t *jpegSize)</td></tr>
<tr class="memdesc:ga041c870d9c669eb3f385c78f4346c43f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compress an 8-bit-per-sample unified planar YUV image into an 8-bit-per-sample lossy JPEG image. <br /></td></tr>
<tr class="memdesc:ga041c870d9c669eb3f385c78f4346c43f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compress an 8-bit-per-sample unified planar YUV image into an 8-bit-per-sample lossy <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720a7389b8f65bb387ffedce3efd0d78ec75">YCbCr</a> or <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720ab3e7d6a87f695e45b81c1b5262b5a50a">grayscale</a> JPEG image. <br /></td></tr>
<tr class="separator:ga041c870d9c669eb3f385c78f4346c43f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2e9df38790e9bddc249d04cb158a4cf" id="r_gae2e9df38790e9bddc249d04cb158a4cf"><td class="memItemLeft" align="right" valign="top">DLLEXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___turbo_j_p_e_g.html#gae2e9df38790e9bddc249d04cb158a4cf">tj3EncodeYUVPlanes8</a> (<a class="el" href="group___turbo_j_p_e_g.html#ga758d2634ecb4949de7815cba621f5763">tjhandle</a> handle, const unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat, unsigned char **dstPlanes, int *strides)</td></tr>
<tr class="memdesc:gae2e9df38790e9bddc249d04cb158a4cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encode an 8-bit-per-sample packed-pixel RGB or grayscale image into separate 8-bit-per-sample Y, U (Cb), and V (Cr) image planes. <br /></td></tr>
@@ -944,7 +944,7 @@ scalingFactor)</code>. </p>
<li>DCT/IDCT algorithm selection</li>
<li>Progressive JPEG</li>
<li>Arithmetic entropy coding</li>
<li>Compression from/decompression to planar YUV images</li>
<li>Compression from/decompression to planar YUV images (this parameter is ignored by <a class="el" href="group___turbo_j_p_e_g.html#ga041c870d9c669eb3f385c78f4346c43f" title="Compress an 8-bit-per-sample unified planar YUV image into an 8-bit-per-sample lossy YCbCr or graysca...">tj3CompressFromYUV8()</a> and <a class="el" href="group___turbo_j_p_e_g.html#gac9f5ace3e73805b476c95dda9f8d0cd0" title="Compress a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes into an 8-bit-per-sample lossy ...">tj3CompressFromYUVPlanes8()</a>)</li>
<li>Decompression scaling</li>
<li>Lossless transformation</li>
</ul>
@@ -1537,7 +1537,7 @@ If you choose option 1 or 3, then <code>*jpegSize</code> should be set to the si
</table>
</div><div class="memdoc">
<p>Compress an 8-bit-per-sample unified planar YUV image into an 8-bit-per-sample lossy JPEG image. </p>
<p>Compress an 8-bit-per-sample unified planar YUV image into an 8-bit-per-sample lossy <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720a7389b8f65bb387ffedce3efd0d78ec75">YCbCr</a> or <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720ab3e7d6a87f695e45b81c1b5262b5a50a">grayscale</a> JPEG image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handle</td><td>handle to a TurboJPEG instance that has been initialized for compression</td></tr>
@@ -1615,7 +1615,7 @@ If you choose option 1 or 3, then <code>*jpegSize</code> should be set to the si
</table>
</div><div class="memdoc">
<p>Compress a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes into an 8-bit-per-sample lossy JPEG image. </p>
<p>Compress a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes into an 8-bit-per-sample lossy <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720a7389b8f65bb387ffedce3efd0d78ec75">YCbCr</a> or <a class="el" href="group___turbo_j_p_e_g.html#gga4f83ad3368e0e29d1957be0efa7c3720ab3e7d6a87f695e45b81c1b5262b5a50a">grayscale</a> JPEG image. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handle</td><td>handle to a TurboJPEG instance that has been initialized for compression</td></tr>
@@ -2255,7 +2255,7 @@ If you choose option 1 or 3, then <code>*jpegSize</code> should be set to the si
</div><div class="memdoc">
<p>Encode an 8-bit-per-sample packed-pixel RGB or grayscale image into an 8-bit-per-sample unified planar YUV image. </p>
<p>This function performs color conversion (which is accelerated in the libjpeg-turbo implementation) but does not execute any of the other steps in the JPEG compression process.</p>
<p>This function performs color conversion and downsampling (which are accelerated in the libjpeg-turbo implementation) but does not execute any of the other steps in the JPEG compression process.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handle</td><td>handle to a TurboJPEG instance that has been initialized for compression</td></tr>
@@ -2336,7 +2336,7 @@ If you choose option 1 or 3, then <code>*jpegSize</code> should be set to the si
</div><div class="memdoc">
<p>Encode an 8-bit-per-sample packed-pixel RGB or grayscale image into separate 8-bit-per-sample Y, U (Cb), and V (Cr) image planes. </p>
<p>This function performs color conversion (which is accelerated in the libjpeg-turbo implementation) but does not execute any of the other steps in the JPEG compression process.</p>
<p>This function performs color conversion and downsampling (which are accelerated in the libjpeg-turbo implementation) but does not execute any of the other steps in the JPEG compression process.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handle</td><td>handle to a TurboJPEG instance that has been initialized for compression</td></tr>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

File diff suppressed because one or more lines are too long

2
java/doc/jquery/jquery-3.7.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,8 @@
## jQuery v3.6.1
## jQuery v3.7.1
### jQuery License
```
jQuery v 3.6.1
jQuery v 3.7.1
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
Permission is hereby granted, free of charge, to any person obtaining
@@ -23,50 +23,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************
The jQuery JavaScript Library v3.6.1 also includes Sizzle.js
Sizzle.js includes the following license:
Copyright JS Foundation and other contributors, https://js.foundation/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
available at https://github.com/jquery/sizzle
The following license applies to all parts of this software except as
documented below:
====
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
====
All files located in the node_modules and external directories are
externally maintained libraries used by this software which have their
own licenses; we recommend you read them, as their terms may differ from
the terms above.
*********************
```

Binary file not shown.

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
@@ -976,11 +976,11 @@ implements java.io.Closeable</pre>
<div class="block">Encode the 8-bit-per-sample packed-pixel source image associated with this
compressor instance into an 8-bit-per-sample planar YUV image and store it
in the given <a href="YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance. This method performs color
conversion (which is accelerated in the libjpeg-turbo implementation) but
does not execute any of the other steps in the JPEG compression process.
Encoding CMYK source images into YUV images is not supported. This method
sets <a href="TJ.html#PARAM_SUBSAMP"><code>TJ.PARAM_SUBSAMP</code></a> to the chrominance subsampling level of the
destination image.</div>
conversion and downsampling (which are accelerated in the libjpeg-turbo
implementation) but does not execute any of the other steps in the JPEG
compression process. Encoding CMYK source images into YUV images is not
supported. This method sets <a href="TJ.html#PARAM_SUBSAMP"><code>TJ.PARAM_SUBSAMP</code></a> to the chrominance
subsampling level of the destination image.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dstImage</code> - <a href="YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance that will receive the planar YUV
@@ -1001,10 +1001,10 @@ implements java.io.Closeable</pre>
<div class="block">Encode the 8-bit-per-sample packed-pixel source image associated with this
compressor instance into an 8-bit-per-sample unified planar YUV image and
return a <a href="YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance containing the encoded image. This
method performs color conversion (which is accelerated in the
libjpeg-turbo implementation) but does not execute any of the other steps
in the JPEG compression process. Encoding CMYK source images into YUV
images is not supported.</div>
method performs color conversion and downsampling (which are accelerated
in the libjpeg-turbo implementation) but does not execute any of the other
steps in the JPEG compression process. Encoding CMYK source images into
YUV images is not supported.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>align</code> - row alignment (in bytes) of the YUV image (must be a power of
@@ -1029,10 +1029,10 @@ implements java.io.Closeable</pre>
<div class="block">Encode the 8-bit-per-sample packed-pixel source image associated with this
compressor instance into separate 8-bit-per-sample Y, U (Cb), and V (Cr)
image planes and return a <a href="YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance containing the encoded
image planes. This method performs color conversion (which is accelerated
in the libjpeg-turbo implementation) but does not execute any of the other
steps in the JPEG compression process. Encoding CMYK source images into
YUV images is not supported.</div>
image planes. This method performs color conversion and downsampling
(which are accelerated in the libjpeg-turbo implementation) but does not
execute any of the other steps in the JPEG compression process. Encoding
CMYK source images into YUV images is not supported.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>strides</code> - an array of integers, each specifying the number of bytes

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.min.js"></script>
</head>
<body>

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

Binary file not shown.

View File

@@ -14,7 +14,7 @@
<!--[if IE]>
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-3.7.1.min.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.min.js"></script>
</head>
<body>

Binary file not shown.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C)2011-2015, 2018, 2020, 2022-2024 D. R. Commander.
* Copyright (C)2011-2015, 2018, 2020, 2022-2025 D. R. Commander.
* All Rights Reserved.
* Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.
*
@@ -634,11 +634,11 @@ public class TJCompressor implements Closeable {
* Encode the 8-bit-per-sample packed-pixel source image associated with this
* compressor instance into an 8-bit-per-sample planar YUV image and store it
* in the given {@link YUVImage} instance. This method performs color
* conversion (which is accelerated in the libjpeg-turbo implementation) but
* does not execute any of the other steps in the JPEG compression process.
* Encoding CMYK source images into YUV images is not supported. This method
* sets {@link TJ#PARAM_SUBSAMP} to the chrominance subsampling level of the
* destination image.
* conversion and downsampling (which are accelerated in the libjpeg-turbo
* implementation) but does not execute any of the other steps in the JPEG
* compression process. Encoding CMYK source images into YUV images is not
* supported. This method sets {@link TJ#PARAM_SUBSAMP} to the chrominance
* subsampling level of the destination image.
*
* @param dstImage {@link YUVImage} instance that will receive the planar YUV
* image
@@ -670,10 +670,10 @@ public class TJCompressor implements Closeable {
* Encode the 8-bit-per-sample packed-pixel source image associated with this
* compressor instance into an 8-bit-per-sample unified planar YUV image and
* return a {@link YUVImage} instance containing the encoded image. This
* method performs color conversion (which is accelerated in the
* libjpeg-turbo implementation) but does not execute any of the other steps
* in the JPEG compression process. Encoding CMYK source images into YUV
* images is not supported.
* method performs color conversion and downsampling (which are accelerated
* in the libjpeg-turbo implementation) but does not execute any of the other
* steps in the JPEG compression process. Encoding CMYK source images into
* YUV images is not supported.
*
* @param align row alignment (in bytes) of the YUV image (must be a power of
* 2.) Setting this parameter to n will cause each row in each plane of the
@@ -698,10 +698,10 @@ public class TJCompressor implements Closeable {
* Encode the 8-bit-per-sample packed-pixel source image associated with this
* compressor instance into separate 8-bit-per-sample Y, U (Cb), and V (Cr)
* image planes and return a {@link YUVImage} instance containing the encoded
* image planes. This method performs color conversion (which is accelerated
* in the libjpeg-turbo implementation) but does not execute any of the other
* steps in the JPEG compression process. Encoding CMYK source images into
* YUV images is not supported.
* image planes. This method performs color conversion and downsampling
* (which are accelerated in the libjpeg-turbo implementation) but does not
* execute any of the other steps in the JPEG compression process. Encoding
* CMYK source images into YUV images is not supported.
*
* @param strides an array of integers, each specifying the number of bytes
* per row in the corresponding plane of the YUV source image. Setting the

View File

@@ -737,7 +737,8 @@ enum TJPARAM {
* - DCT/IDCT algorithm selection
* - Progressive JPEG
* - Arithmetic entropy coding
* - Compression from/decompression to planar YUV images
* - Compression from/decompression to planar YUV images (this parameter is
* ignored by #tj3CompressFromYUV8() and #tj3CompressFromYUVPlanes8())
* - Decompression scaling
* - Lossless transformation
*
@@ -1641,7 +1642,8 @@ DLLEXPORT int tj3Compress16(tjhandle handle, const unsigned short *srcBuf,
/**
* Compress a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes into
* an 8-bit-per-sample lossy JPEG image.
* an 8-bit-per-sample lossy @ref TJCS_YCbCr "YCbCr" or
* @ref TJCS_GRAY "grayscale" JPEG image.
*
* @param handle handle to a TurboJPEG instance that has been initialized for
* compression
@@ -1708,7 +1710,8 @@ DLLEXPORT int tj3CompressFromYUVPlanes8(tjhandle handle,
/**
* Compress an 8-bit-per-sample unified planar YUV image into an
* 8-bit-per-sample lossy JPEG image.
* 8-bit-per-sample lossy @ref TJCS_YCbCr "YCbCr" or @ref TJCS_GRAY "grayscale"
* JPEG image.
*
* @param handle handle to a TurboJPEG instance that has been initialized for
* compression
@@ -1770,8 +1773,9 @@ DLLEXPORT int tj3CompressFromYUV8(tjhandle handle,
/**
* Encode an 8-bit-per-sample packed-pixel RGB or grayscale image into separate
* 8-bit-per-sample Y, U (Cb), and V (Cr) image planes. This function performs
* color conversion (which is accelerated in the libjpeg-turbo implementation)
* but does not execute any of the other steps in the JPEG compression process.
* color conversion and downsampling (which are accelerated in the
* libjpeg-turbo implementation) but does not execute any of the other steps in
* the JPEG compression process.
*
* @param handle handle to a TurboJPEG instance that has been initialized for
* compression
@@ -1825,8 +1829,9 @@ DLLEXPORT int tj3EncodeYUVPlanes8(tjhandle handle, const unsigned char *srcBuf,
/**
* Encode an 8-bit-per-sample packed-pixel RGB or grayscale image into an
* 8-bit-per-sample unified planar YUV image. This function performs color
* conversion (which is accelerated in the libjpeg-turbo implementation) but
* does not execute any of the other steps in the JPEG compression process.
* conversion and downsampling (which are accelerated in the libjpeg-turbo
* implementation) but does not execute any of the other steps in the JPEG
* compression process.
*
* @param handle handle to a TurboJPEG instance that has been initialized for
* compression