| Package | Description | 
|---|---|
| javax.imageio.plugins.jpeg | Classes supporting the built-in JPEG plug-in. | 
| Modifier and Type | Field and Description | 
|---|---|
| static JPEGQTable | JPEGQTable. K1Div2LuminanceThe sample luminance quantization table given in the JPEG
 specification, table K.1, with all elements divided by 2. | 
| static JPEGQTable | JPEGQTable. K1LuminanceThe sample luminance quantization table given in the JPEG
 specification, table K.1. | 
| static JPEGQTable | JPEGQTable. K2ChrominanceThe sample chrominance quantization table given in the JPEG
 specification, table K.2. | 
| static JPEGQTable | JPEGQTable. K2Div2ChrominanceThe sample chrominance quantization table given in the JPEG
 specification, table K.1, with all elements divided by 2. | 
| Modifier and Type | Method and Description | 
|---|---|
| JPEGQTable[] | JPEGImageReadParam. getQTables()Returns a copy of the array of quantization tables set on the
 most recent call to  setDecodeTables, ornullif tables are not currently set. | 
| JPEGQTable[] | JPEGImageWriteParam. getQTables()Returns a copy of the array of quantization tables set on the
 most recent call to  setEncodeTables, ornullif tables are not currently set. | 
| JPEGQTable | JPEGQTable. getScaledInstance(float scaleFactor,
                 boolean forceBaseline)Returns a new quantization table where the values are multiplied
 by  scaleFactorand then clamped to the range 1..32767
 (or to 1..255 ifforceBaselineis true). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | JPEGImageReadParam. setDecodeTables(JPEGQTable[] qTables,
               JPEGHuffmanTable[] DCHuffmanTables,
               JPEGHuffmanTable[] ACHuffmanTables)Sets the quantization and Huffman tables to use in decoding
 abbreviated streams. | 
| void | JPEGImageWriteParam. setEncodeTables(JPEGQTable[] qTables,
               JPEGHuffmanTable[] DCHuffmanTables,
               JPEGHuffmanTable[] ACHuffmanTables)Sets the quantization and Huffman tables to use in encoding
 abbreviated streams. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.