Uses of Class
org.apache.xmlgraphics.image.loader.ImageInfo
-
Packages that use ImageInfo 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. -
-
Uses of ImageInfo in org.apache.xmlgraphics.image.loader
Methods in org.apache.xmlgraphics.image.loader that return ImageInfo Modifier and Type Method Description ImageInfo
ImageManager. getImageInfo(java.lang.String uri, ImageSessionContext session)
Returns an ImageInfo object containing its intrinsic size for a given URI.ImageInfo
Image. getInfo()
Returns an object with basic information (URI, MIME type, intrinsic size) about the image.ImageInfo
ImageManager. preloadImage(java.lang.String uri, javax.xml.transform.Source src)
Preloads an image, i.e.ImageInfo
ImageManager. preloadImage(java.lang.String uri, ImageSessionContext session)
Preloads an image, i.e.Methods in org.apache.xmlgraphics.image.loader with parameters of type ImageInfo Modifier and Type Method Description Image
ImageManager. getImage(ImageInfo info, ImageFlavor[] flavors, java.util.Map hints, ImageSessionContext session)
Loads an image.Image
ImageManager. getImage(ImageInfo info, ImageFlavor[] flavors, 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
ImageManager. getImage(ImageInfo info, ImageFlavor flavor, ImageSessionContext session)
Loads an image with no hints. -
Uses of ImageInfo in org.apache.xmlgraphics.image.loader.cache
Methods in org.apache.xmlgraphics.image.loader.cache that return ImageInfo Modifier and Type Method Description protected ImageInfo
ImageCache. getImageInfo(java.lang.String uri)
Returns an ImageInfo instance from the cache or null if none is found.ImageInfo
ImageCache. needImageInfo(java.lang.String uri, ImageSessionContext session, ImageManager manager)
Returns an ImageInfo instance for a given URI.Methods in org.apache.xmlgraphics.image.loader.cache with parameters of type ImageInfo Modifier and Type Method Description Image
ImageCache. getImage(ImageInfo info, ImageFlavor flavor)
Returns an image from the cache or null if it wasn't found.protected void
ImageCache. putImageInfo(ImageInfo info)
Registers an ImageInfo instance with the cache. -
Uses of ImageInfo in org.apache.xmlgraphics.image.loader.impl
Methods in org.apache.xmlgraphics.image.loader.impl that return ImageInfo Modifier and Type Method Description ImageInfo
AbstractImage. getInfo()
Returns an object with basic information (URI, MIME type, intrinsic size) about the image.ImageInfo
PreloaderBMP. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.ImageInfo
PreloaderEMF. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.ImageInfo
PreloaderEPS. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.ImageInfo
PreloaderGIF. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.ImageInfo
PreloaderJPEG. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.ImageInfo
PreloaderRawPNG. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
ImageInfo
PreloaderTIFF. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.Methods in org.apache.xmlgraphics.image.loader.impl with parameters of type ImageInfo Modifier and Type Method Description boolean
AbstractImageLoaderFactory. isSupported(ImageInfo imageInfo)
Indicates whether the given image (represented by anImageInfo
object) is supported by the loader.boolean
ImageLoaderFactoryRawCCITTFax. isSupported(ImageInfo imageInfo)
Indicates whether the given image (represented by anImageInfo
object) is supported by the loader.Image
AbstractImageLoader. loadImage(ImageInfo info, ImageSessionContext session)
Loads and returns an image.Image
CompositeImageLoader. 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
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
ImageLoaderRaw. loadImage(ImageInfo info, java.util.Map hints, 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.Constructors in org.apache.xmlgraphics.image.loader.impl with parameters of type ImageInfo Constructor Description AbstractImage(ImageInfo info)
Main constructorImageBuffered(ImageInfo info, java.awt.image.BufferedImage buffered, java.awt.Color transparentColor)
Main constructor.ImageGraphics2D(ImageInfo info, Graphics2DImagePainter painter)
Main constructor.ImageRawCCITTFax(ImageInfo info, java.io.InputStream in, int compression)
Main constructor.ImageRawEPS(ImageInfo info, java.io.InputStream in)
Main constructor.ImageRawEPS(ImageInfo info, ImageRawStream.InputStreamFactory streamFactory)
Main constructor.ImageRawJPEG(ImageInfo info, java.io.InputStream in, int sofType, java.awt.color.ColorSpace colorSpace, java.awt.color.ICC_Profile iccProfile, boolean invertImage)
Main constructor.ImageRawPNG(ImageInfo info, java.io.InputStream in, java.awt.image.ColorModel colorModel, int bitDepth, java.awt.color.ICC_Profile iccProfile)
Main constructor.ImageRawStream(ImageInfo info, ImageFlavor flavor, java.io.InputStream in)
Constructor for a simple InputStream as parameter.ImageRawStream(ImageInfo info, ImageFlavor flavor, ImageRawStream.InputStreamFactory streamFactory)
Main constructor.ImageRendered(ImageInfo info, java.awt.image.RenderedImage red, java.awt.Color transparentColor)
Main constructor.ImageXMLDOM(ImageInfo info, org.w3c.dom.Document doc, java.lang.String rootNamespace)
Main constructor.ImageXMLDOM(ImageInfo info, org.w3c.dom.Document doc, XMLNamespaceEnabledImageFlavor flavor)
Main constructor. -
Uses of ImageInfo in org.apache.xmlgraphics.image.loader.impl.imageio
Methods in org.apache.xmlgraphics.image.loader.impl.imageio that return ImageInfo Modifier and Type Method Description ImageInfo
PreloaderImageIO. preloadImage(java.lang.String uri, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.Methods in org.apache.xmlgraphics.image.loader.impl.imageio with parameters of type ImageInfo Modifier and Type Method Description Image
ImageLoaderImageIO. loadImage(ImageInfo info, java.util.Map hints, ImageSessionContext session)
Loads and returns an image. -
Uses of ImageInfo in org.apache.xmlgraphics.image.loader.pipeline
Methods in org.apache.xmlgraphics.image.loader.pipeline with parameters of type ImageInfo Modifier and Type Method Description ImageProviderPipeline[]
PipelineFactory. determineCandidatePipelines(ImageInfo imageInfo, ImageFlavor targetFlavor)
Determines all possible pipelines for the given image that can produce the requested target flavor.ImageProviderPipeline[]
PipelineFactory. determineCandidatePipelines(ImageInfo imageInfo, ImageFlavor[] flavors)
Finds and returns an array ofImageProviderPipeline
instances which can handle the given MIME type and return one of the givenImageFlavor
s.Image
ImageProviderPipeline. execute(ImageInfo info, java.util.Map hints, ImageSessionContext context)
Executes the image converter pipeline.Image
ImageProviderPipeline. execute(ImageInfo info, Image originalImage, java.util.Map hints, ImageSessionContext context)
Executes the image converter pipeline.ImageProviderPipeline
PipelineFactory. newImageConverterPipeline(ImageInfo imageInfo, ImageFlavor targetFlavor)
Creates and returns anImageProviderPipeline
that allows to load an image of the given MIME type and present it in the requested image flavor. -
Uses of ImageInfo in org.apache.xmlgraphics.image.loader.spi
Methods in org.apache.xmlgraphics.image.loader.spi that return ImageInfo Modifier and Type Method Description ImageInfo
ImagePreloader. preloadImage(java.lang.String originalURI, javax.xml.transform.Source src, ImageContext context)
"Preloads" an image, i.e.Methods in org.apache.xmlgraphics.image.loader.spi with parameters of type ImageInfo Modifier and Type Method Description ImageLoaderFactory[]
ImageImplRegistry. getImageLoaderFactories(ImageInfo imageInfo, ImageFlavor flavor)
Returns an array ofImageLoaderFactory
instances that support the MIME type indicated by anImageInfo
object and can generate the given image flavor.ImageLoaderFactory
ImageImplRegistry. getImageLoaderFactory(ImageInfo imageInfo, ImageFlavor flavor)
Returns the best ImageLoaderFactory supporting theImageInfo
and image flavor.boolean
ImageLoaderFactory. isSupported(ImageInfo imageInfo)
Indicates whether the given image (represented by anImageInfo
object) is supported by the loader.Image
ImageLoader. loadImage(ImageInfo info, java.util.Map hints, ImageSessionContext session)
Loads and returns an image.Image
ImageLoader. loadImage(ImageInfo info, ImageSessionContext session)
Loads and returns an image.
-