Uses of Class
javax.imageio.plugins.jpeg.JPEGQTable
Packages that use JPEGQTable
-
Uses of JPEGQTable in javax.imageio.plugins.jpeg
Fields in javax.imageio.plugins.jpeg declared as JPEGQTableModifier and TypeFieldDescriptionstatic final JPEGQTable
JPEGQTable.K1Div2Luminance
The sample luminance quantization table given in the JPEG specification, table K.1, with all elements divided by 2.static final JPEGQTable
JPEGQTable.K1Luminance
The sample luminance quantization table given in the JPEG specification, table K.1.static final JPEGQTable
JPEGQTable.K2Chrominance
The sample chrominance quantization table given in the JPEG specification, table K.2.static final JPEGQTable
JPEGQTable.K2Div2Chrominance
The sample chrominance quantization table given in the JPEG specification, table K.1, with all elements divided by 2.Methods in javax.imageio.plugins.jpeg that return JPEGQTableModifier and TypeMethodDescriptionJPEGImageReadParam.getQTables()
Returns a copy of the array of quantization tables set on the most recent call tosetDecodeTables
, ornull
if tables are not currently set.JPEGImageWriteParam.getQTables()
Returns a copy of the array of quantization tables set on the most recent call tosetEncodeTables
, ornull
if tables are not currently set.JPEGQTable.getScaledInstance
(float scaleFactor, boolean forceBaseline) Returns a new quantization table where the values are multiplied byscaleFactor
and then clamped to the range 1..32767 (or to 1..255 ifforceBaseline
is true).Methods in javax.imageio.plugins.jpeg with parameters of type JPEGQTableModifier and TypeMethodDescriptionvoid
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.