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

Quick Search    Search Deep

org.apache.batik.ext.awt.image.codec.* (32)org.apache.batik.ext.awt.image.codec.tiff.* (9)
org.apache.batik.ext.awt.image.renderable.* (45)org.apache.batik.ext.awt.image.rendered.* (38)
org.apache.batik.ext.awt.image.spi.* (13)

org.apache.batik.ext.awt.image: Javadoc index of package org.apache.batik.ext.awt.image.


Package Samples:

org.apache.batik.ext.awt.image.codec.tiff: Provides a set of classes to encode/decode images in various raster image file formats.  
org.apache.batik.ext.awt.image.codec: Contains extensions to the java.awt.image package.  
org.apache.batik.ext.awt.image.spi
org.apache.batik.ext.awt.image.rendered
org.apache.batik.ext.awt.image.renderable

Classes:

SeekableStream: An abstract subclass of java.io.InputStream that allows seeking within the input, similar to the RandomAccessFile class. Additionally, the DataInput interface is supported and extended to include support for little-endian representations of fundamental data types. In addition to the familiar methods from InputStream , the methods getFilePointer() , seek() , are defined as in the RandomAccessFile class. The canSeekBackwards() method will return true if it is permissible to seek to a position earlier in the stream than the current value of getFilePointer() . Some subclasses of SeekableStream guarantee ...
PNGDecodeParam: An instance of ImageDecodeParam for decoding images in the PNG format. PNGDecodeParam allows several aspects of the decoding process for PNG images to be controlled. By default, decoding produces output images with the following properties: Images with a bit depth of 8 or less use a DataBufferByte to hold the pixel data. 16-bit images use a DataBufferUShort . Palette color images and non-transparent grayscale images with bit depths of 1, 2, or 4 will have a MultiPixelPackedSampleModel and an IndexColorModel . For palette color images, the ColorModel palette contains the red, green, blue, and optionally ...
TIFFDecodeParam: An instance of ImageDecodeParam for decoding images in the TIFF format. To determine the number of images present in a TIFF file, use the getNumPages() method on the ImageDecoder object that will be used to perform the decoding. The desired page number may be passed as an argument to the ImageDecoder.decodeAsRaster)() or decodeAsRenderedImage() methods. For TIFF Palette color images, the colorMap always has entries of short data type, the color Black being represented by 0,0,0 and White by 65536,65536,65536. In order to display these images, the default behavior is to dither the short values down ...
TurbulencePatternRed: This class creates a RenderedImage in conformance to the one defined for the feTurbulence filter of the SVG specification. What follows is my high-level description of how the noise is generated. This is not contained in the SVG spec, just the algorithm for doing it. This is provided in the hope that someone will figure out a clever way to accelerate parts of the function. gradient contains a long list of random unit vectors. For each point we are to generate noise for we do two things. first we use the latticeSelector to 'co-mingle' the integer portions of x and y (this allows us to have a one-dimensional ...
TIFFDirectory: A class representing an Image File Directory (IFD) from a TIFF 6.0 stream. The TIFF file format is described in more detail in the comments for the TIFFDescriptor class. A TIFF IFD consists of a set of TIFFField tags. Methods are provided to query the set of tags and to obtain the raw field array. In addition, convenience methods are provided for acquiring the values of tags that contain a single value that fits into a byte, int, long, float, or double. Every TIFF file is made up of one or more public IFDs that are joined in a linked list, rooted in the file header. A file may also contain so-called ...
TIFFEncodeParam: An instance of ImageEncodeParam for encoding images in the TIFF format. This class allows for the specification of encoding parameters. By default, the image is encoded without any compression, and is written out consisting of strips, not tiles. The particular compression scheme to be used can be specified by using the setCompression() method. The compression scheme specified will be honored only if it is compatible with the type of image being written out. For example, Group3 and Group4 compressions can only be used with Bilevel images. Writing of tiled TIFF images can be enabled by calling the ...
TIFFImageDecoder: A baseline TIFF reader. The reader has some functionality in addition to the baseline specifications for Bilevel images, for which the group 3 and group 4 decompression schemes have been implemented. Support for LZW decompression has also been added. Support for Horizontal differencing predictor decoding is also included, when used with LZW compression. However, this support is limited to data with bitsPerSample value of 8. When reading in RGB images, support for alpha and extraSamples being present has been added. Support for reading in images with 16 bit samples has been added. Support for the ...
FileCacheSeekableStream: A subclass of SeekableStream that may be used to wrap a regular InputStream . Seeking backwards is supported by means of a file cache. In circumstances that do not allow the creation of a temporary file (for example, due to security consideration or the absence of local disk), the MemoryCacheSeekableStream class may be used instead. The mark() and reset() methods are supported. This class is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
TIFFField: A class representing a field in a TIFF 6.0 Image File Directory. The TIFF file format is described in more detail in the comments for the TIFFDescriptor class. A field in a TIFF Image File Directory (IFD). A field is defined as a sequence of values of identical data type. TIFF 6.0 defines 12 data types, which are mapped internally onto the Java datatypes byte, int, long, float, and double. This class is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
MemoryCacheSeekableStream: A subclass of SeekableStream that may be used to wrap a regular InputStream . Seeking backwards is supported by means of an in-memory cache. For greater efficiency, FileCacheSeekableStream should be used in circumstances that allow the creation of a temporary file. The mark() and reset() methods are supported. This class is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
DiffuseLightingRable: This filter primitive lights an image using the alpha channel as a bump map. The resulting image is an RGBA opaque image based on the light color with alpha = 1.0 everywhere. The lighting calculation follows the standard diffuse component of the Phong lighting model. The resulting image depends on the light color, light position and surface geometry of the input bump map. This filter follows the specification of the feDiffuseLighting filter in the SVG 1.0 specification.
FilterChainRable8Bit: Implements a filter chain. A filter chain is defined by its filter region (i.e., the bounding box of its input/output), its filter resolution and its source. Its source cannot be null, but its resolution can. The filter chain decomposes as follows: A pad operation that makes the input image a big as the filter region. If there is a filterResolution specified along at least one of the axis, a AffineRable
URLImageCache: This class manages a cache of soft references to Images that we have already loaded. Adding an image is two fold. First you add the ParsedURL, this lets the cache know that someone is working on this ParsedURL. Then when the completed RenderedImage is ready you put it into the cache. If someone requests a ParsedURL after it has been added but before it has been put they will be blocked until the put.
DeferRable: This class allows for the return of a proxy object quickly, while a heavy weight object is constrcuted in a background Thread. This proxy object will then block if any methods are called on it that require talking to the source object. This is actually a particular instance of a very general pattern this is probably best represented using the Proxy class in the Reflection APIs.
SimpleRenderedImage: A simple class implemented the RenderedImage interface. Only the getTile() method needs to be implemented by subclasses. The instance variables must also be filled in properly. Normally in JAI PlanarImage is used for this purpose, but in the interest of modularity the use of PlanarImage has been avoided.
MagicNumberRegistryEntry: This Image tag registry entry is built around the notion of magic numbers. These are strings of bytes that are at a well known location in the input stream (often the start). This base class can handle the compatiblity check based on a list of Magic Numbers that correspond to your format (Some formats have multiple magic numbers associated with them).
URLRegistryEntry: This type of Image tag registy entry is used for 'odd' URL types. Ussually this means that the URL uses a non-standard protocol. In these cases you should be aware that in order for the construction of the URL object to succeed you must register a @see URLStreamHandler using one of the methods listed in
TileLRUMember: This is a useful class that wraps a Raster for patricipation in an LRU Cache. When this object drops out of the LRU cache it removes it's hard reference to the tile, but retains it's soft reference allowing for the recovery of the tile when the JVM is not under memory pressure
StreamRegistryEntry: This type of Image tag registy entry is used for most normal image file formats. You are given a markable stream and an opportunity to check if it is "compatible" if you return true then you will likely be asked to provide the decoded image next.
FormatRed: This allows you to specify the ColorModel, Alpha premult and/or SampleModel to be used for output. If the input image lacks Alpha and alpha is included in output then it is filled with alpha=1. In all other cases bands are simply copied.
Light: Top level interface to model a light element. A light is responsible for computing the light vector on a given point of a surface. A light is typically in a 3 dimensional space and the methods assumes the surface is at elevation 0.
FilterAlphaRable: FilterAlphaRable implementation. This will take any source Filter and convert it to an alpha channel image according to the SVG SourceAlpha Filter description. This sets RGB to black and Alpha to the source image's alpha channel.
AbstractRed: This is an abstract base class that takes care of most of the normal issues surrounding the implementation of the CachableRed (RenderedImage) interface. It tries to make no assumptions about the subclass implementation.
AbstractTiledRed: This is an abstract base class that takes care of most of the normal issues surrounding the implementation of the CachableRed (RenderedImage) interface. It tries to make no assumptions about the subclass implementation.
ImageEncoder: An interface describing objects that transform a BufferedImage or Raster into an OutputStream. This interface is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.

Home | Contact Us | Privacy Policy | Terms of Service