Module java.desktop

Package java.awt.image


package java.awt.image
Provides classes for creating and modifying images. Images are processed using a streaming framework that involves an image producer, optional image filters, and an image consumer. This framework makes it possible to progressively render an image while it is being fetched and generated. Moreover, the framework allows an application to discard the storage used by an image and to regenerate it at any time. This package provides a number of image producers, consumers, and filters that you can configure for your image processing needs.
Since:
1.0
  • Related Packages
    Package
    Description
    Contains all of the classes for creating user interfaces and for painting graphics and images.
    Provides classes and interfaces for producing rendering-independent images.
  • Interface Summary
    Interface
    Description
    This interface describes single-input/single-output operations performed on BufferedImage objects.
    The interface for objects expressing interest in image data through the ImageProducer interfaces.
    An asynchronous update interface for receiving notifications about Image information as the Image is constructed.
    The interface for objects which can produce the image data for Images.
    This interface is designed to be an optional additional API supported by some implementations of Image to allow them to provide alternate images for various rendering resolutions.
    This interface describes single-input/single-output operations performed on Raster objects.
    RenderedImage is a common interface for objects which contain or can produce image data in the form of Rasters.
    An interface for objects that wish to be informed when tiles of a WritableRenderedImage become modifiable by some writer via a call to getWritableTile, and when they become unmodifiable via the last call to releaseWritableTile.
    WritableRenderedImage is a common interface for objects which contain or can produce image data in the form of Rasters and which can be modified and/or written over.
  • Class Summary
    Class
    Description
    This class provides default implementations of several Image methods for classes that want to implement the MultiResolutionImage interface.
    This class uses an affine transform to perform a linear mapping from 2D coordinates in the source image or Raster to 2D coordinates in the destination image or Raster.
    An ImageFilter class for scaling images using a simple area averaging algorithm that produces smoother results than the nearest neighbor algorithm.
    This class performs an arbitrary linear combination of the bands in a Raster, using a specified matrix.
    This class represents image data which is stored in a band interleaved fashion and for which each sample of a pixel occupies one data element of the DataBuffer.
    This class is an array-based implementation of the AbstractMultiResolutionImage class.
    The BufferedImage subclass describes an Image with an accessible buffer of image data.
    The BufferedImageFilter class subclasses an ImageFilter to provide a simple means of using a single-source/single-destination image operator (BufferedImageOp) to filter a BufferedImage in the Image Producer/Consumer/Observer paradigm.
    The BufferStrategy class represents the mechanism with which to organize complex memory on a particular Canvas or Window.
    This class defines a lookup table object.
    This class performs a pixel-by-pixel color conversion of the data in the source image.
    The ColorModel abstract class encapsulates the methods for translating a pixel value to color components (for example, red, green, and blue) and an alpha component.
    A ColorModel class that works with pixel values that represent color and alpha information as separate samples and that store each sample in a separate data element.
    This class represents image data which is stored such that each sample of a pixel occupies one data element of the DataBuffer.
    This class implements a convolution from the source to the destination.
    An ImageFilter class for cropping images.
    This class exists to wrap one or more data arrays.
    This class extends DataBuffer and stores data internally as bytes.
    This class extends DataBuffer and stores data internally in double form.
    This class extends DataBuffer and stores data internally in float form.
    This class extends DataBuffer and stores data internally as integers.
    This class extends DataBuffer and stores data internally as shorts.
    This class extends DataBuffer and stores data internally as shorts.
    The DirectColorModel class is a ColorModel class that works with pixel values that represent RGB color and alpha information as separate samples and that pack all samples for a single pixel into a single int, short, or byte quantity.
    This class is an implementation of the ImageProducer interface which takes an existing image and a filter object and uses them to produce image data for a new filtered version of the original image.
    This class implements a filter for the set of interface methods that are used to deliver data from an ImageProducer to an ImageConsumer.
    The IndexColorModel class is a ColorModel class that works with pixel values consisting of a single sample that is an index into a fixed colormap in the default sRGB color space.
    The Kernel class defines a matrix that describes how a specified pixel and its surrounding pixels affect the value computed for the pixel's position in the output image of a filtering operation.
    This class implements a lookup operation from the source to the destination.
    This abstract class defines a lookup table object.
    This class is an implementation of the ImageProducer interface which uses an array to produce pixel values for an Image.
    The MultiPixelPackedSampleModel class represents one-banded images and can pack multiple one-sample pixels into one data element.
    The PackedColorModel class is an abstract ColorModel class that works with pixel values which represent color and alpha information as separate samples and which pack all samples for a single pixel into a single int, short, or byte quantity.
    The PixelGrabber class implements an ImageConsumer which can be attached to an Image or ImageProducer object to retrieve a subset of the pixels in that image.
    This class represents image data which is stored in a pixel interleaved fashion and for which each sample of a pixel occupies one data element of the DataBuffer.
    A class representing a rectangular array of pixels.
    An ImageFilter class for scaling images using the simplest algorithm.
    This class performs a pixel-by-pixel rescaling of the data in the source image by multiplying the sample values for each pixel by a scale factor and then adding an offset.
    This class provides an easy way to create an ImageFilter which modifies the pixels of an image in the default RGB ColorModel.
    This abstract class defines an interface for extracting samples of pixels in an image.
    This class defines a lookup table object.
    This class represents pixel data packed such that the N samples which make up a single pixel are stored in a single data array element, and each data data array element holds samples for only one pixel.
    VolatileImage is an image which can lose its contents at any time due to circumstances beyond the control of the application (e.g., situations caused by the operating system or by other applications).
    This class extends Raster to provide pixel writing capabilities.
  • Exception Summary
    Exception
    Description
    The ImagingOpException is thrown if one of the BufferedImageOp or RasterOp filter methods cannot process the image.
    The RasterFormatException is thrown if there is invalid layout information in the Raster.