javax.imageio.plugins.jpeg
4 classes of the module java.desktop.
Load them with:
using {
"javax.imageio.plugins.jpeg"
}
JPEGHuffmanTable#
class · extends Object · javax.imageio.plugins.jpeg.JPEGHuffmanTable
Constructors
new JPEGHuffmanTable(short[] lengths, short[] values) |
Ring: new JPEGHuffmanTable(args) uses the constructor with the fewest parameters (at least one); new JPEGHuffmanTable makes the object with the constructor without parameters; the others: (new JPEGHuffmanTable).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StdDCLuminance | JPEGHuffmanTable | constant · static | o.StdDCLuminance |
StdDCChrominance | JPEGHuffmanTable | constant · static | o.StdDCChrominance |
StdACLuminance | JPEGHuffmanTable | constant · static | o.StdACLuminance |
StdACChrominance | JPEGHuffmanTable | constant · static | o.StdACChrominance |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLengths | getLengths() | short[] getLengths() |
getValues | getValues() | short[] getValues() |
The methods and fields of Object are inherited.
JPEGImageReadParam#
class · extends ImageReadParam · javax.imageio.plugins.jpeg.JPEGImageReadParam
Constructors
new JPEGImageReadParam() |
Ring: new JPEGImageReadParam(args) uses the constructor with the fewest parameters (at least one); new JPEGImageReadParam makes the object with the constructor without parameters; the others: (new JPEGImageReadParam).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
areTablesSet | areTablesSet() | boolean areTablesSet() |
getACHuffmanTables | getACHuffmanTables() | JPEGHuffmanTable[] getACHuffmanTables() |
getDCHuffmanTables | getDCHuffmanTables() | JPEGHuffmanTable[] getDCHuffmanTables() |
getQTables | getQTables() | JPEGQTable[] getQTables() |
setDecodeTables | setDecodeTables(qTables,DCHuffmanTables,ACHuffmanTables) | void setDecodeTables(JPEGQTable[] qTables, JPEGHuffmanTable[] DCHuffmanTables, JPEGHuffmanTable[] ACHuffmanTables) |
unsetDecodeTables | unsetDecodeTables() | void unsetDecodeTables() |
The methods and fields of ImageReadParam are inherited.
JPEGImageWriteParam#
class · extends ImageWriteParam · javax.imageio.plugins.jpeg.JPEGImageWriteParam
Constructors
new JPEGImageWriteParam(Locale locale) |
Ring: new JPEGImageWriteParam(args) uses the constructor with the fewest parameters (at least one); new JPEGImageWriteParam makes the object with the constructor without parameters; the others: (new JPEGImageWriteParam).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
areTablesSet | areTablesSet() | boolean areTablesSet() |
getACHuffmanTables | getACHuffmanTables() | JPEGHuffmanTable[] getACHuffmanTables() |
getDCHuffmanTables | getDCHuffmanTables() | JPEGHuffmanTable[] getDCHuffmanTables() |
getOptimizeHuffmanTables | getOptimizeHuffmanTables() | boolean getOptimizeHuffmanTables() |
getQTables | getQTables() | JPEGQTable[] getQTables() |
setEncodeTables | setEncodeTables(qTables,DCHuffmanTables,ACHuffmanTables) | void setEncodeTables(JPEGQTable[] qTables, JPEGHuffmanTable[] DCHuffmanTables, JPEGHuffmanTable[] ACHuffmanTables) |
setOptimizeHuffmanTables | setOptimizeHuffmanTables(optimize) | void setOptimizeHuffmanTables(boolean optimize) |
unsetEncodeTables | unsetEncodeTables() | void unsetEncodeTables() |
The methods and fields of ImageWriteParam are inherited.
JPEGQTable#
class · extends Object · javax.imageio.plugins.jpeg.JPEGQTable
Constructors
new JPEGQTable(int[] table) |
Ring: new JPEGQTable(args) uses the constructor with the fewest parameters (at least one); new JPEGQTable makes the object with the constructor without parameters; the others: (new JPEGQTable).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
K1Luminance | JPEGQTable | constant · static | o.K1Luminance |
K1Div2Luminance | JPEGQTable | constant · static | o.K1Div2Luminance |
K2Chrominance | JPEGQTable | constant · static | o.K2Chrominance |
K2Div2Chrominance | JPEGQTable | constant · static | o.K2Div2Chrominance |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getScaledInstance | getScaledInstance(scaleFactor,forceBaseline) | JPEGQTable getScaledInstance(float scaleFactor, boolean forceBaseline) |
getTable | getTable() | int[] getTable() |
The methods and fields of Object are inherited.