org.apache.fop.image
Class TIFFImage
- FopImage
TIFF implementation using the Batik codecs.
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 |
TIFFImage
public TIFFImage(FopImage.ImageInfo imgReader)
Constructs a new BatikImage instance.
imgReader
- basic metadata for the image
decodeImage
protected CachableRed decodeImage(SeekableStream stream)
throws IOException
- decodeImage in interface XmlGraphicsCommonsImage
org.apache.fop.image.XmlGraphicsCommonsImage.decodeImage(
org.apache.xmlgraphics.image.codec.util.SeekableStream)
getCompression
public int getCompression()
The compression type set in the TIFF directory
- the TIFF compression type
getStripCount
public int getStripCount()
The number of strips in the image
- the number of strips in the image
loadOriginalData
protected boolean loadOriginalData()
Load the original TIFF data.
This loads only strip 1 of the original TIFF data.
- loadOriginalData in interface AbstractFopImage
- true if loaded false for any error
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.