Package | Description |
---|---|
org.apache.xmlgraphics.image.loader |
Contains image loading and conversion infrastructure for various image
sources and an image cache.
|
org.apache.xmlgraphics.image.loader.cache |
Contains image caching infrastructure.
|
org.apache.xmlgraphics.image.loader.impl |
Contains implementations of image loaders and converters.
|
org.apache.xmlgraphics.image.loader.impl.imageio |
Contains an implementation of an image loader which uses ImageIO.
|
org.apache.xmlgraphics.image.loader.pipeline |
Provides an image loading and processing pipeline.
|
org.apache.xmlgraphics.image.loader.spi |
Defines service provider interfaces for the image infrastructure.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageManager.convertImage(Image image,
ImageFlavor[] flavors)
Converts an image with no hints.
|
Image |
ImageManager.convertImage(Image image,
ImageFlavor[] flavors,
java.util.Map hints)
Converts an image.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor[] flavors,
ImageSessionContext session)
Loads an image with no hints.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor[] flavors,
java.util.Map hints,
ImageSessionContext session)
Loads an image.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor flavor,
ImageSessionContext session)
Loads an image with no hints.
|
Image |
ImageManager.getImage(ImageInfo info,
ImageFlavor flavor,
java.util.Map hints,
ImageSessionContext session)
Loads an image.
|
Image |
ImageInfo.getOriginalImage()
Returns the original Image instance if such an Image instance is created while building
this ImageInfo object.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageManager.convertImage(Image image,
ImageFlavor[] flavors)
Converts an image with no hints.
|
Image |
ImageManager.convertImage(Image image,
ImageFlavor[] flavors,
java.util.Map hints)
Converts an image.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageCache.getImage(ImageInfo info,
ImageFlavor flavor)
Returns an image from the cache or null if it wasn't found.
|
Image |
ImageCache.getImage(java.lang.String uri,
ImageFlavor flavor)
Returns an image from the cache or null if it wasn't found.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageCache.putImage(Image img)
Registers an image with the cache.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractImage
Abstract base class for Image implementations.
|
class |
ImageBuffered
This class is an implementation of the Image interface exposing a BufferedImage.
|
class |
ImageGraphics2D
This class is an implementation of the Image interface exposing a Graphics2DImagePainter.
|
class |
ImageRawCCITTFax
This class is an implementation of the Image interface exposing a 1-bit bitmap image stream
that can be decoded by the PostScript or PDF CCITTFaxDecode filter.
|
class |
ImageRawEPS
This class is an implementation of the Image interface exposing EPS file.
|
class |
ImageRawJPEG
This class is an implementation of the Image interface exposing a JPEG file.
|
class |
ImageRawPNG |
class |
ImageRawStream
This class is an implementation of the Image interface exposing an InputStream for loading the
raw/undecoded image.
|
class |
ImageRendered
This class is an implementation of the Image interface exposing a RenderedImage.
|
class |
ImageXMLDOM
This class is an implementation of the Image interface exposing an XML DOM (W3C).
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageConverterG2D2Bitmap.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageConverterBuffered2Rendered.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageConverterBitmap2G2D.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageConverterRendered2PNG.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
AbstractImageLoader.loadImage(ImageInfo info,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRawCCITTFax.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRawJPEG.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRawPNG.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderInternalTIFF.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderPNG.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderEPS.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
CompositeImageLoader.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoaderRaw.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractImageConverter.checkSourceFlavor(Image img)
Checks if the source flavor of the given image is compatible with this ImageConverter.
|
Image |
ImageConverterG2D2Bitmap.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageConverterBuffered2Rendered.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageConverterBitmap2G2D.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageConverterRendered2PNG.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageLoaderImageIO.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageProviderPipeline.execute(ImageInfo info,
Image originalImage,
java.util.Map hints,
ImageSessionContext context)
Executes the image converter pipeline.
|
Image |
ImageProviderPipeline.execute(ImageInfo info,
java.util.Map hints,
ImageSessionContext context)
Executes the image converter pipeline.
|
protected Image |
ImageProviderPipeline.forceCaching(Image img)
In some cases the provided Image is not cacheable, nor is any of the intermediate Image
instances (for example, when loading a raw JPEG file).
|
Modifier and Type | Method and Description |
---|---|
ImageProviderPipeline[] |
PipelineFactory.determineCandidatePipelines(Image sourceImage,
ImageFlavor[] flavors)
Finds and returns an array of
ImageProviderPipeline instances which can handle
the convert the given Image and return one of the given ImageFlavor s. |
Image |
ImageProviderPipeline.execute(ImageInfo info,
Image originalImage,
java.util.Map hints,
ImageSessionContext context)
Executes the image converter pipeline.
|
protected Image |
ImageProviderPipeline.forceCaching(Image img)
In some cases the provided Image is not cacheable, nor is any of the intermediate Image
instances (for example, when loading a raw JPEG file).
|
ImageProviderPipeline |
PipelineFactory.newImageConverterPipeline(Image originalImage,
ImageFlavor targetFlavor)
Creates and returns an
ImageProviderPipeline that allows to load an image of the
given MIME type and present it in the requested image flavor. |
Modifier and Type | Method and Description |
---|---|
Image |
ImageConverter.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Image |
ImageLoader.loadImage(ImageInfo info,
ImageSessionContext session)
Loads and returns an image.
|
Image |
ImageLoader.loadImage(ImageInfo info,
java.util.Map hints,
ImageSessionContext session)
Loads and returns an image.
|
Modifier and Type | Method and Description |
---|---|
Image |
ImageConverter.convert(Image src,
java.util.Map hints)
Converts an image into a different representation.
|
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.