Package | Description |
---|---|
org.apache.xmlgraphics.image |
Classes, codecs and utilities for bitmap images.
|
org.apache.xmlgraphics.image.codec.png |
Contains a PNG image codec.
|
org.apache.xmlgraphics.image.codec.tiff |
Contains a TIFF image codec.
|
org.apache.xmlgraphics.image.rendered |
Specialized subclasses of RenderedImage for various tasks (color space conversion, caching etc.)
|
Modifier and Type | Method and Description |
---|---|
static CachableRed |
GraphicsUtil.convertToLsRGB(CachableRed src)
This method will return a CacheableRed that has it's data in
the linear sRGB colorspace.
|
static CachableRed |
GraphicsUtil.convertTosRGB(CachableRed src)
This method will return a CacheableRed that has it's data in
the sRGB colorspace.
|
static CachableRed |
GraphicsUtil.wrap(java.awt.image.RenderedImage ri)
Convertes any RenderedImage to a CacheableRed.
|
Modifier and Type | Method and Description |
---|---|
static CachableRed |
GraphicsUtil.convertToLsRGB(CachableRed src)
This method will return a CacheableRed that has it's data in
the linear sRGB colorspace.
|
static CachableRed |
GraphicsUtil.convertTosRGB(CachableRed src)
This method will return a CacheableRed that has it's data in
the sRGB colorspace.
|
Modifier and Type | Class and Description |
---|---|
class |
PNGRed |
Modifier and Type | Class and Description |
---|---|
class |
TIFFImage |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRed
This is an abstract base class that takes care of most of the
normal issues surrounding the implementation of the CachableRed
(RenderedImage) interface.
|
class |
Any2LsRGBRed
This function will tranform an image from any colorspace into a
luminance image.
|
class |
Any2sRGBRed
This function will tranform an image from any colorspace into a
luminance image.
|
class |
BufferedImageCachableRed
This implements CachableRed based on a BufferedImage.
|
class |
FormatRed
This allows you to specify the ColorModel, Alpha premult and/or
SampleModel to be used for output.
|
class |
RenderedImageCachableRed
This implements CachableRed around a RenderedImage.
|
Modifier and Type | Method and Description |
---|---|
static CachableRed |
FormatRed.construct(CachableRed src,
java.awt.image.ColorModel cm) |
CachableRed |
FormatRed.getSource()
fetch the source image for this node.
|
static CachableRed |
RenderedImageCachableRed.wrap(java.awt.image.RenderedImage ri) |
Modifier and Type | Method and Description |
---|---|
static CachableRed |
FormatRed.construct(CachableRed src,
java.awt.image.ColorModel cm) |
protected static java.awt.image.ColorModel |
Any2LsRGBRed.fixColorModel(CachableRed src)
This function 'fixes' the source's color model.
|
protected static java.awt.image.ColorModel |
Any2sRGBRed.fixColorModel(CachableRed src)
This function 'fixes' the source's color model.
|
protected static java.awt.image.SampleModel |
Any2LsRGBRed.fixSampleModel(CachableRed src)
This function 'fixes' the source's sample model.
|
protected static java.awt.image.SampleModel |
Any2sRGBRed.fixSampleModel(CachableRed src)
This function 'fixes' the source's sample model.
|
protected void |
AbstractRed.init(CachableRed src,
java.awt.Rectangle bounds,
java.awt.image.ColorModel cm,
java.awt.image.SampleModel sm,
int tileGridXOff,
int tileGridYOff,
java.util.Map props)
This is one of two basic init function (this is for single
source rendereds).
|
static java.awt.image.ColorModel |
FormatRed.makeColorModel(CachableRed cr,
java.awt.image.SampleModel sm) |
static java.awt.image.SampleModel |
FormatRed.makeSampleModel(CachableRed cr,
java.awt.image.ColorModel cm) |
Constructor and Description |
---|
AbstractRed(CachableRed src,
java.util.Map props)
Construct an Abstract RenderedImage from a source image and
props (may be null).
|
AbstractRed(CachableRed src,
java.awt.Rectangle bounds,
java.awt.image.ColorModel cm,
java.awt.image.SampleModel sm,
int tileGridXOff,
int tileGridYOff,
java.util.Map props)
Construct an Abstract Rable from a bounds rect and props
(may be null).
|
AbstractRed(CachableRed src,
java.awt.Rectangle bounds,
java.awt.image.ColorModel cm,
java.awt.image.SampleModel sm,
java.util.Map props)
Construct an Abstract RenderedImage from a source image, bounds
rect and props (may be null).
|
AbstractRed(CachableRed src,
java.awt.Rectangle bounds,
java.util.Map props)
Construct an Abstract RenderedImage from a source image, bounds
rect and props (may be null).
|
Any2LsRGBRed(CachableRed src)
Construct a luminace image from src.
|
Any2sRGBRed(CachableRed src)
Construct a luminace image from src.
|
FormatRed(CachableRed cr,
java.awt.image.ColorModel cm) |
FormatRed(CachableRed cr,
java.awt.image.SampleModel sm)
Construct an instance of CachableRed around a BufferedImage.
|
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.