Fields Summary |
---|
public static final int | COLOR_ID_UNKNOWNUnknown or Undefined Color ID |
public static final int | COLOR_ID_GRAYMonochrome |
public static final int | COLOR_ID_RGBRed, Green, and Blue |
public static final int | COLOR_ID_YCbCrYCbCr |
public static final int | COLOR_ID_CMYKCMYK |
public static final int | COLOR_ID_PYCCPhotoYCC |
public static final int | COLOR_ID_RGBARGB-Alpha |
public static final int | COLOR_ID_YCbCrAYCbCr-Alpha |
public static final int | COLOR_ID_RGBA_INVERTEDRGB-Alpha with R, G, and B inverted. |
public static final int | COLOR_ID_YCbCrA_INVERTEDYCbCr-Alpha with Y, Cb, and Cr inverted. |
public static final int | COLOR_ID_PYCCAPhotoYCC-Alpha |
public static final int | COLOR_ID_YCCKYCbCrK |
static final int | NUM_COLOR_IDNumber of color ids defined. |
static final int | NUM_TABLESNumber of allowed Huffman and Quantization Tables |
public static final int | DENSITY_UNIT_ASPECT_RATIOThe X and Y units simply indicate the aspect ratio of the pixels. |
public static final int | DENSITY_UNIT_DOTS_INCHPixel density is in pixels per inch. |
public static final int | DENSITY_UNIT_DOTS_CMPixel density is in pixels per centemeter. |
static final int | NUM_DENSITY_UNITThe max known value for DENSITY_UNIT |
public static final int | APP0_MARKERAPP0 marker - JFIF info |
public static final int | APP1_MARKERAPP1 marker |
public static final int | APP2_MARKERAPP2 marker |
public static final int | APP3_MARKERAPP3 marker |
public static final int | APP4_MARKERAPP4 marker |
public static final int | APP5_MARKERAPP5 marker |
public static final int | APP6_MARKERAPP6 marker |
public static final int | APP7_MARKERAPP7 marker |
public static final int | APP8_MARKERAPP8 marker |
public static final int | APP9_MARKERAPP9 marker |
public static final int | APPA_MARKERAPPA marker |
public static final int | APPB_MARKERAPPB marker |
public static final int | APPC_MARKERAPPC marker |
public static final int | APPD_MARKERAPPD marker |
public static final int | APPE_MARKERAPPE marker - Adobe info |
public static final int | APPF_MARKERAPPF marker |
public static final int | COMMENT_MARKERAdobe marker indicates presence/need for Adobe marker. |
Methods Summary |
---|
public java.lang.Object | clone()
|
public int | getACHuffmanComponentMapping(int component)Get the number of the AC Huffman table that will be used for
a particular component.
|
public JPEGHuffmanTable | getACHuffmanTable(int tableNum)Returns the AC Huffman coding table requested or null if
not defined
|
public JPEGHuffmanTable | getACHuffmanTableForComponent(int component)Returns the AC Huffman coding table for the requested component.
|
public int | getDCHuffmanComponentMapping(int component)Get the number of the DC Huffman table that will be used for
a particular component.
|
public JPEGHuffmanTable | getDCHuffmanTable(int tableNum)Returns the DC Huffman coding table requested or null if
not defined
|
public JPEGHuffmanTable | getDCHuffmanTableForComponent(int component)Returns the DC Huffman coding table for the requested component.
|
public int | getDensityUnit()Get the code for pixel size units This value is copied from the
APP0 marker. It isn't used by the JPEG codec. If the APP0
marker wasn't present then you can not rely on this value.
|
public int | getEncodedColorID()Returns the JPEG Encoded color id. This is generally
speaking only used if you are decoding into Rasters. Note
that when decoding into a Raster no color conversion is
performed.
|
public int | getHeight()Get the image height
|
public int | getHorizontalSubsampling(int component)Return the Horizontal subsampling factor for requested
Component. The Subsample factor is the number of input pixels
that contribute to each output pixel. This is distinct from
the way the JPEG to each output pixel. This is distinct from
the way the JPEG standard defines this quantity, because
fractional subsampling factors are not allowed, and it was felt
|
public boolean | getMarker(int marker)Returns true if at least one instance of the marker is present
in the Parameter object. For encoding returns true if there
is at least one instance of the marker to be written.
|
public byte[][] | getMarkerData(int marker)Returns a 'byte[][]' associated with the requested marker in
the parameter object. Each entry in the 'byte[][]' is the data
associated with one instance of the marker (each marker can
theoretically appear any number of times in a stream).
|
public int | getNumComponents()Returns the number of components for the current encoding
COLOR_ID.
|
public JPEGQTable | getQTable(int tableNum)Returns the coefficient quantization tables or NULL if not
defined. tableNum must range in value from 0 - 3.
|
public int | getQTableComponentMapping(int component)Get the number of the quantization table that will be used for
a particular component.
|
public JPEGQTable | getQTableForComponent(int component)Returns the Quantization table for the requested component.
|
public int | getRestartInterval()Get the MCUs per restart marker.
|
public int | getVerticalSubsampling(int component)Return the Vertical subsampling factor for requested
Component. The Subsample factor is the number of input pixels
that contribute to each output pixel. This is distinct from
the way the JPEG to each output pixel. This is distinct from
the way the JPEG standard defines this quantity, because
fractional subsampling factors are not allowed, and it was felt
|
public int | getWidth()Get the image width
|
public int | getXDensity()Get the horizontal pixel density This value is copied from the
APP0 marker. It isn't used by the JPEG code. If the APP0
marker wasn't present then you can not rely on this value.
|
public int | getYDensity()Get the vertical pixel density This value is copied into the
APP0 marker. It isn't used by the JPEG code. If the APP0 marker
wasn't present then you can not rely on this value.
|
public boolean | isImageInfoValid()Returns true if the image information in the ParamBlock is
currently valid. This indicates if image data was read from
the stream for decoding and weather image data should be
written when encoding.
|
public boolean | isTableInfoValid()Returns true if the tables in the ParamBlock are currently
valid. This indicates that tables were read from the stream
for decoding. When encoding this indicates wether tables should
be written to the stream.
|