A C D E G I J N S T

A

addMarkerData(int, byte[]) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Appends 'data' to the array of byte[] associated with marker.
APP0_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP0 marker - JFIF info
APP1_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP1 marker
APP2_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP2 marker
APP3_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP3 marker
APP4_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP4 marker
APP5_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP5 marker
APP6_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP6 marker
APP7_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP7 marker
APP8_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP8 marker
APP9_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APP9 marker
APPA_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APPA marker
APPB_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APPB marker
APPC_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APPC marker
APPD_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APPD marker
APPE_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APPE marker - Adobe info
APPF_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
APPF marker

C

clone() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
 
clone() - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
 
COLOR_ID_CMYK - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
CMYK
COLOR_ID_GRAY - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Monochrome
COLOR_ID_PYCC - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
PhotoYCC
COLOR_ID_PYCCA - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
PhotoYCC-Alpha
COLOR_ID_RGB - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Red, Green, and Blue
COLOR_ID_RGBA - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
RGB-Alpha
COLOR_ID_RGBA_INVERTED - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
RGB-Alpha with R, G, and B inverted.
COLOR_ID_UNKNOWN - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Unknown or Undefined Color ID
COLOR_ID_YCbCr - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
YCbCr
COLOR_ID_YCbCrA - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
YCbCr-Alpha
COLOR_ID_YCbCrA_INVERTED - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
YCbCr-Alpha with Y, Cb, and Cr inverted.
COLOR_ID_YCCK - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
YCbCrK
com.sun.image.codec.jpeg - package com.sun.image.codec.jpeg
Provides classes for encoding and decoding JPEG images.
COMMENT_MARKER - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Adobe marker indicates presence/need for Adobe marker.
createJPEGDecoder(InputStream) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This creates an instance of a JPEGImageDecoder that can be used to decode JPEG Data streams.
createJPEGDecoder(InputStream, JPEGDecodeParam) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This creates an instance of a JPEGImageDecoder that can be used to decode JPEG Data streams.
createJPEGEncoder(OutputStream) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This creates an instance of a JPEGImageEncoder that can be used to encode image data as JPEG Data streams.
createJPEGEncoder(OutputStream, JPEGEncodeParam) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This creates an instance of a JPEGImageEncoder that can be used to encode image data as JPEG Data streams.

D

decodeAsBufferedImage() - Method in interface com.sun.image.codec.jpeg.JPEGImageDecoder
Decodes the current JPEG data stream.
decodeAsRaster() - Method in interface com.sun.image.codec.jpeg.JPEGImageDecoder
Decode the JPEG stream that was passed as part of construction.
DENSITY_UNIT_ASPECT_RATIO - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
The X and Y units simply indicate the aspect ratio of the pixels.
DENSITY_UNIT_DOTS_CM - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Pixel density is in pixels per centemeter.
DENSITY_UNIT_DOTS_INCH - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Pixel density is in pixels per inch.

E

encode(BufferedImage) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Encode a BufferedImage as a JPEG data stream.
encode(BufferedImage, JPEGEncodeParam) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Encode a BufferedImage as a JPEG data stream.
encode(Raster) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Encode a Raster as a JPEG data stream.
encode(Raster, JPEGEncodeParam) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Encode a Raster as a JPEG data stream.

G

getACHuffmanComponentMapping(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the number of the AC Huffman table that will be used for a particular component.
getACHuffmanTable(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the AC Huffman coding table requested or null if not defined
getACHuffmanTableForComponent(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the AC Huffman coding table for the requested component.
getBufferedImage() - Method in class com.sun.image.codec.jpeg.TruncatedFileException
Allows access to the BufferedImage that was in the progress of being decoded, this may be null, it is likely to be only partially filled with image data.
getDCHuffmanComponentMapping(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the number of the DC Huffman table that will be used for a particular component.
getDCHuffmanTable(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the DC Huffman coding table requested or null if not defined
getDCHuffmanTableForComponent(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the DC Huffman coding table for the requested component.
getDefaultColorId(ColorModel) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Returns the 'default' encoded COLOR_ID for a given ColorModel.
getDefaultJPEGEncodeParam(BufferedImage) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
This is a factory method for creating JPEGEncodeParam objects.
getDefaultJPEGEncodeParam(BufferedImage) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This is a factory method for creating JPEGEncodeParam objects.
getDefaultJPEGEncodeParam(int, int) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
This is a factory method for creating JPEGEncodeParam objects.
getDefaultJPEGEncodeParam(int, int) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This is a factory method for creating JPEGEncodeParam objects.
getDefaultJPEGEncodeParam(JPEGDecodeParam) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
This is a factory method for creating a JPEGEncodeParam from a JPEGDecodeParam.
getDefaultJPEGEncodeParam(JPEGDecodeParam) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This is a factory method for creating a JPEGEncodeParam from a JPEGDecodeParam.
getDefaultJPEGEncodeParam(Raster, int) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
This is a factory method for creating JPEGEncodeParam objects.
getDefaultJPEGEncodeParam(Raster, int) - Static method in class com.sun.image.codec.jpeg.JPEGCodec
This is a factory method for creating JPEGEncodeParam objects.
getDensityUnit() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the code for pixel size units This value is copied from the APP0 marker.
getEncodedColorID() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the JPEG Encoded color id.
getHeight() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the image height
getHorizontalSubsampling(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Return the Horizontal subsampling factor for requested Component.
getInputStream() - Method in interface com.sun.image.codec.jpeg.JPEGImageDecoder
Get the input stream that decoding will occur from.
getJPEGDecodeParam() - Method in interface com.sun.image.codec.jpeg.JPEGImageDecoder
Returns the JPEGDecodeParam object that resulted from the most recent decoding event.
getJPEGEncodeParam() - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
This returns a copy of the current JPEGEncodeParam object, if you want changes to affect the encoding process you must 'set' it back into the encoder (either through setJPEGEncodeParam or by providing the modified param object in the call to encode.
getLengths() - Method in class com.sun.image.codec.jpeg.JPEGHuffmanTable
Return a copy of the array containing the number of symbols for each length in the Huffman table.
getMarker(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns true if at least one instance of the marker is present in the Parameter object.
getMarkerData(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns a 'byte[][]' associated with the requested marker in the parameter object.
getNumComponents() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the number of components for the current encoding COLOR_ID.
getOutputStream() - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Return the stream the Encoder is currenlt associated with.
getQTable(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the coefficient quantization tables or NULL if not defined.
getQTableComponentMapping(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the number of the quantization table that will be used for a particular component.
getQTableForComponent(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns the Quantization table for the requested component.
getRaster() - Method in class com.sun.image.codec.jpeg.TruncatedFileException
Allows access to the raster that was in the progress of being decoded may be null, it is likely to be only partially filled with image data.
getRestartInterval() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the MCUs per restart marker.
getScaledInstance(float, boolean) - Method in class com.sun.image.codec.jpeg.JPEGQTable
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').
getSymbols() - Method in class com.sun.image.codec.jpeg.JPEGHuffmanTable
Return an array containing the Huffman symbols arranged by increasing length.
getTable() - Method in class com.sun.image.codec.jpeg.JPEGQTable
Returns the current quantization table as an array of ints in zig zag order.
getVerticalSubsampling(int) - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Return the Vertical subsampling factor for requested Component.
getWidth() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the image width
getXDensity() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the horizontal pixel density This value is copied from the APP0 marker.
getYDensity() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Get the vertical pixel density This value is copied into the APP0 marker.

I

ImageFormatException - exception com.sun.image.codec.jpeg.ImageFormatException.
Signals that an Image Format exception of some sort has occurred.
ImageFormatException() - Constructor for class com.sun.image.codec.jpeg.ImageFormatException
Constructs an ImageFormatException with no detail message.
ImageFormatException(String) - Constructor for class com.sun.image.codec.jpeg.ImageFormatException
Constructs an ImageFormatException with the specified detailed message.
isImageInfoValid() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns true if the image information in the ParamBlock is currently valid.
isTableInfoValid() - Method in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Returns true if the tables in the ParamBlock are currently valid.

J

JPEGCodec - class com.sun.image.codec.jpeg.JPEGCodec.
This class is a factory for implementations of the JPEG Image Decoder/Encoder.
JPEGDecodeParam - interface com.sun.image.codec.jpeg.JPEGDecodeParam.
JPEGDecodeParam encapsulates tables and options necessary to control decoding JPEG datastreams.
JPEGEncodeParam - interface com.sun.image.codec.jpeg.JPEGEncodeParam.
JPEGEncodeParam encapsulates tables and options necessary to control encoding of JPEG data streams.
JPEGHuffmanTable - class com.sun.image.codec.jpeg.JPEGHuffmanTable.
A class to encapsulate a JPEG Huffman table.
JPEGHuffmanTable(short[], short[]) - Constructor for class com.sun.image.codec.jpeg.JPEGHuffmanTable
Creates a Huffman Table and initializes it.
JPEGImageDecoder - interface com.sun.image.codec.jpeg.JPEGImageDecoder.
This interface describes a JPEG data stream decoder.
JPEGImageEncoder - interface com.sun.image.codec.jpeg.JPEGImageEncoder.
JPEGImageEncoder encodes buffers of image data into JPEG data streams.
JPEGQTable - class com.sun.image.codec.jpeg.JPEGQTable.
Class to encapsulate the JPEG quantization tables.
JPEGQTable(int[]) - Constructor for class com.sun.image.codec.jpeg.JPEGQTable
Constructs an quantization table from the array that was passed.

N

NUM_COLOR_ID - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Number of color ids defined.
NUM_DENSITY_UNIT - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
The max known value for DENSITY_UNIT
NUM_TABLES - Static variable in interface com.sun.image.codec.jpeg.JPEGDecodeParam
Number of allowed Huffman and Quantization Tables

S

setACHuffmanComponentMapping(int, int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the mapping between a component and it's AC Huffman Table.
setACHuffmanTable(int, JPEGHuffmanTable) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the AC Huffman coding table at index to the table provided.
setDCHuffmanComponentMapping(int, int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the mapping between a component and it's DC Huffman Table.
setDCHuffmanTable(int, JPEGHuffmanTable) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the DC Huffman coding table at index to the table provided.
setDensityUnit(int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the pixel size units This value is copied into the APP0 marker (if that marker is written).
setHorizontalSubsampling(int, int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the horizontal subsample factor for the given component.
setImageInfoValid(boolean) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the flag indicating the validity of the table information in the ParamBlock.
setJPEGDecodeParam(JPEGDecodeParam) - Method in interface com.sun.image.codec.jpeg.JPEGImageDecoder
Sets the JPEGDecodeParam object used to determine the features of the decompression performed on the JPEG encoded data.
setJPEGEncodeParam(JPEGEncodeParam) - Method in interface com.sun.image.codec.jpeg.JPEGImageEncoder
Set the JPEGEncodeParam object that is to be used for future encoding operations.
setMarkerData(int, byte[][]) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the marker data to be written to the output data stream.
setQTable(int, JPEGQTable) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the coefficient quantization tables at index passed.
setQTableComponentMapping(int, int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Sets the mapping between a component and it's Quantization Table.
setQuality(float, boolean) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
This creates new Quantization tables that replace the currently installed Quantization tables.
setRestartInterval(int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the MCUs per restart, or 0 for no restart markers.
setTableInfoValid(boolean) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the flag indicating the validity of the image information in the ParamBlock.
setVerticalSubsampling(int, int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the vertical subsample factor for the given component.
setXDensity(int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the horizontal pixel density This value is written into the APP0 marker.
setYDensity(int) - Method in interface com.sun.image.codec.jpeg.JPEGEncodeParam
Set the vertical pixel density.
StdACChrominance - Static variable in class com.sun.image.codec.jpeg.JPEGHuffmanTable
Standard Huffman table ( JPEG standard section K.3 )
StdACLuminance - Static variable in class com.sun.image.codec.jpeg.JPEGHuffmanTable
Standard Huffman table ( JPEG standard section K.3 )
StdChrominance - Static variable in class com.sun.image.codec.jpeg.JPEGQTable
This is the sample luminance quantization table given in the JPEG spec section K.1, expressed in zigzag order.
StdDCChrominance - Static variable in class com.sun.image.codec.jpeg.JPEGHuffmanTable
Standard Huffman table ( JPEG standard section K.3 )
StdDCLuminance - Static variable in class com.sun.image.codec.jpeg.JPEGHuffmanTable
Standard Huffman table ( JPEG standard section K.3 )
StdLuminance - Static variable in class com.sun.image.codec.jpeg.JPEGQTable
This is the sample luminance quantization table given in the JPEG spec section K.1, expressed in zigzag order.

T

TruncatedFileException - exception com.sun.image.codec.jpeg.TruncatedFileException.
Signals that a truncated file was detected.
TruncatedFileException(BufferedImage) - Constructor for class com.sun.image.codec.jpeg.TruncatedFileException
Constructs a TruncatedFileException/code> with the partially decoded BufferedImage.
TruncatedFileException(Raster) - Constructor for class com.sun.image.codec.jpeg.TruncatedFileException
Constructs an TruncatedFileException with the partially decoded Raster

A C D E G I J N S T

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.