org.apache.fop.image
Class XmlGraphicsCommonsImage
- FopImage
public abstract class XmlGraphicsCommonsImage
Abstract FopImage implementation which uses the internal codecs from XML Graphics Commons.
protected CachableRed | cr - The Batik representation of the image
|
protected SeekableStream | seekableInput - The InputStream wrapped into a SeekableStream for decoding.
|
bitmaps , bitsPerPixel , colorSpace , dpiHorizontal , dpiVertical , height , imageInfo , inputStream , invertImage , isTransparent , loaded , log , raw , transparentColor , width |
getBitmaps , getBitmapsSize , getBitsPerPixel , getColorSpace , getHeight , getHorizontalResolution , getICCProfile , getIntrinsicAlignmentAdjust , getIntrinsicHeight , getIntrinsicWidth , getMimeType , getOriginalURI , getRessourceBytes , getRessourceBytesSize , getSoftMask , getTransparentColor , getVerticalResolution , getWidth , hasSoftMask , isInverted , isTransparent , load , loadBitmap , loadDefaultOriginalData , loadDimensions , loadOriginalData |
cr
protected CachableRed cr
The Batik representation of the image
seekableInput
protected SeekableStream seekableInput
The InputStream wrapped into a SeekableStream for decoding.
XmlGraphicsCommonsImage
public XmlGraphicsCommonsImage(FopImage.ImageInfo imgReader)
Constructs a new BatikImage instance.
imgReader
- basic metadata for the image
decodeImage
protected abstract CachableRed decodeImage(SeekableStream stream)
throws IOException
Decodes the image from the stream.
stream
- the stream to read the image from
loadImage
protected void loadImage()
Loads the image from the InputStream.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.