| Package | Description |
|---|---|
| javax.imageio.plugins.jpeg |
Classes supporting the built-in JPEG plug-in.
|
| Modifier and Type | Field and Description |
|---|---|
static JPEGQTable |
JPEGQTable.K1Div2Luminance
The sample luminance quantization table given in the JPEG specification, table K.1, with all elements divided by 2.
|
static JPEGQTable |
JPEGQTable.K1Luminance
The sample luminance quantization table given in the JPEG specification, table K.1.
|
static JPEGQTable |
JPEGQTable.K2Chrominance
The sample chrominance quantization table given in the JPEG specification, table K.2.
|
static JPEGQTable |
JPEGQTable.K2Div2Chrominance
The 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, or
null if 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, or
null if tables are not currently set.
|
JPEGQTable |
JPEGQTable.getScaledInstance(float scaleFactor, boolean forceBaseline)
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).
|
| Modifier and Type | Method and Description |
|---|---|
void |
JPEGImageReadParam.setDecodeTables(JPEGQTable
Sets the quantization and Huffman tables to use in decoding abbreviated streams.
|
void |
JPEGImageWriteParam.setEncodeTables(JPEGQTable
Sets the quantization and Huffman tables to use in encoding abbreviated streams.
|