Classes supporting the built-in JPEG plug-in.
The sample luminance quantization table given in the JPEG
specification, table K.1, with all elements divided by 2.
The sample luminance quantization table given in the JPEG
specification, table K.1.
The sample chrominance quantization table given in the JPEG
specification, table K.2.
The sample chrominance quantization table given in the JPEG
specification, table K.1, with all elements divided by 2.
Returns a copy of the array of quantization tables set on the
most recent call to setDecodeTables
, or
null
if tables are not currently set.
Returns a copy of the array of quantization tables set on the
most recent call to setEncodeTables
, or
null
if tables are not currently set.
Returns a new quantization table where the values are multiplied
by scaleFactor
and then clamped to the range 1..32767
(or to 1..255 if forceBaseline
is true).
void
Sets the quantization and Huffman tables to use in decoding
abbreviated streams.
void
Sets the quantization and Huffman tables to use in encoding
abbreviated streams.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .