API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.plugins.jpeg. JPEGQTable View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      JPEGQTable
Implements
Subclasses
Description
public class JPEGQTable
  A class encapsulating a single JPEG quantization table.
See also:   
Constructors
private JPEGQTable ()
  Constructs an empty quantization table.
public JPEGQTable (int[] table)
  Constructs a quantization table from the argument, which must contain 64 elements in natural order (not zig-zag order).
Methods
Hide/Show inherited methods
public 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).
public int getTable ()
  Returns a copy of the current quantization table as an array of ints in natural (not zig-zag) order.
public String toString ()
Fields
Hide/Show inherited fields
publicfinalstatic JPEGQTable K1Div2Luminance
  The sample luminance quantization table given in the JPEG specification, table K.1, with all elements divided by 2.
publicfinalstatic JPEGQTable K1Luminance
  The sample luminance quantization table given in the JPEG specification, table K.1.
publicfinalstatic JPEGQTable K2Chrominance
  The sample chrominance quantization table given in the JPEG specification, table K.2.
publicfinalstatic JPEGQTable K2Div2Chrominance
  The sample chrominance quantization table given in the JPEG specification, table K.2, with all elements divided by 2.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar