Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt.image.renderable.* (7)

java.awt.image: Javadoc index of package java.awt.image.


Package Samples:

java.awt.image.renderable: Image consumers, producers and filters.  

Classes:

ColorModel: A color model operates with colors in several formats: normalized: component samples are in range [0.0, 1.0]. color model pixel value: all the color component samples for a sigle pixel packed/encoded in a way natural for the color model. color model pixel int value: only makes sense if the natural encoding of a single pixel can fit in a single int value. array of transferType containing a single pixel: the pixel is encoded in the natural way of the color model, taking up as many array elements as needed. sRGB pixel int value: a pixel in sRGB color space, encoded in default 0xAARRGGBB format, assumed ...
IndexColorModel: Color model similar to pseudo visual in X11. This color model maps linear pixel values to actual RGB and alpha colors. Thus, pixel values are indexes into the color map. Each color component is an 8-bit unsigned value. The IndexColorModel supports a map of valid pixels, allowing the representation of holes in the the color map. The valid map is represented as a java.math.BigInteger where each bit indicates the validity of the map entry with the same index. Colors can have alpha components for transparency support. If alpha component values aren't given, color values are opaque. The model also supports ...
BufferStrategy: This class describes a strategy for managing image buffering resources on a Canvas or Window. A given buffer strategy may make use of hardware acceleration or take advantage of features of the native graphics system. Examples of buffering strategies are double or triple buffering using either flipping or blitting. For the details of these algorithms see BufferCapabilities. To use a buffer strategy, you retrieve it from either the current GraphicsConfiguration or from the Component on which you'd like to draw. Then you can query the strategy's capabilities to make sure they're suitable. If the strategy's ...
VolatileImage: VolatileImage represents a hardware-accelerated graphics buffer. The native graphics system may free or damage the resources occupied by a VolatileImage at any time. As such, one must frequently check the "validity" of the image buffer's resources. A volatile image's "validity" depends on multiple factors. Its resources may have become unavailble in which case you must reallocate them. If you move the image from one output device to another, you may need to recreate the image's resources if the new output device's capabilities don't match the old one's. Finally, if the contents of the image's buffer ...
ComponentSampleModel: ComponentSampleModel supports a flexible organization of pixel samples in memory, permitting pixel samples to be interleaved by band, by scanline, and by pixel. A DataBuffer for this sample model has K banks of data. Pixels have N samples, so there are N bands in the DataBuffer. Each band is completely contained in one bank of data, but a bank may contain more than one band. Each pixel sample is stored in a single data element. Within a bank, each band begins at an offset stored in bandOffsets. The banks containing the band is given by bankIndices. Within the bank, there are three dimensions - ...
LookupOp: LookupOp is a filter that converts each pixel using a lookup table. For filtering Rasters, the lookup table must have either one component that is applied to all bands, or one component for every band in the Rasters. For BufferedImages, the lookup table may apply to both color and alpha components. If the lookup table contains one component, or if there are the same number of components as color components in the source, the table applies to all color components. Otherwise the table applies to all components including alpha. Alpha premultiplication is ignored during the lookup filtering. After ...
ConvolveOp: Convolution filter. ConvolveOp convolves the source image with a Kernel to generate a destination image. This involves multiplying each pixel and its neighbors with elements in the kernel to compute a new pixel. Each band in a Raster is convolved and copied to the destination Raster. For BufferedImages, convolution is applied to all components. If the source is not premultiplied, the data will be premultiplied before convolving. Premultiplication will be undone if the destination is not premultiplied. Color conversion will be applied if needed.
ColorConvertOp: ColorConvertOp is a filter for converting an image from one colorspace to another colorspace. The filter can convert the image through a sequence of colorspaces or just from source to destination. Color conversion is done on the color components without alpha. Thus if a BufferedImage has alpha premultiplied, this is divided out before color conversion, and premultiplication applied if the destination requires it. Color rendering and dithering hints may be applied if specified. This is likely platform-dependent.
BandCombineOp: Filter Raster pixels by applying a matrix. BandCombineOp applies a matrix to each pixel to produce new pixel values. The width of the matrix must be the same or one more than the number of bands in the source Raster. If one more, the pixels in the source are assumed to contain an implicit 1.0 at the end. The rows of the matrix are multiplied by the pixel to produce the values for the destination. Therefore the destination Raster must contain the same number of bands as the number of rows in the filter matrix.
AreaAveragingScaleFilter: This filter should produce images which do not have image artifacts like broken lines which were originally unbroken. The cost is of course speed. Using bi-linear interpolation here against 4 pixel points should give the desired results although Sun does not specify what the exact algorithm should be.
ShortLookupTable: ShortLookupTable represents translation arrays for pixel values. It wraps one or more data arrays for each layer (or component) in an image, such as Alpha, R, G, and B. When doing translation, the offset is subtracted from the pixel values to allow a subset of an array to be used.
ByteLookupTable: ByteLookupTable represents translation arrays for pixel values. It wraps one or more data arrays for each layer (or component) in an image, such as Alpha, R, G, and B. When doing translation, the offset is subtracted from the pixel values to allow a subset of an array to be used.
LookupTable: LookupTable represents translation arrays for pixel values. It wraps one or more data arrays for each layer (or component) in an image, such as Alpha, R, G, and B. When doing translation, the offset is subtracted from the pixel values to allow a subset of an array to be used.
PixelInterleavedSampleModel: A SampleModel that uses exactly one element of the raster’s DataBuffer per pixel, holds all bands in a single bank, and stores band data in pixel-interleaved manner.
BufferedImage: A buffered image always starts at coordinates (0, 0). The buffered image is not subdivided into multiple tiles. Instead, the image consists of one large tile (0,0) with the width and height of the image. This tile is always considered to be checked out.
ReplicateScaleFilter: This filter should be used for fast scaling of images where the result does not need to ensure straight lines are still straight, etc. The exact method is not defined by Sun but some sort of fast Box filter should probably be correct.
BufferedImageFilter: The BufferedImageFilter class wraps BufferedImageOp objects in a Filter. When pixels are pushed through the filter, we create a BufferedImage, apply the BufferedImageOp, and pass the filtered pixels to the base class.
ImageProducer: An object implementing the ImageProducer interface can produce data for images. Each image has a corresponding ImageProducer which is needed for things such as resizing the image.
Kernel: Kernel represents an image processing kernel. It gets used to hold convolution filters among other purposes. It stores an array of float values representing a 2-dimensional array in row-major order.
ImageFilter: The ImageFilter class is a base class which can be extended to provide different types of filters for an image. By default this class does nothing to an image passing through it.
DataBufferDouble: A DataBuffer that uses an array of double primitives to represent each of its banks.
DataBufferUShort: A DataBuffer that uses an array of short primitives to represent each of its banks.
DataBufferFloat: A DataBuffer that uses an array of float primitives to represent each of its banks.
DataBufferShort: A DataBuffer that uses an array of short primitives to represent each of its banks.
DataBufferByte: A DataBuffer that uses an array of byte primitives to represent each of its banks.

Home | Contact Us | Privacy Policy | Terms of Service