org.apache.fop.image
Class PNGImage
- FopImage
FopImage object using PNG
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 |
PNGImage
public PNGImage(FopImage.ImageInfo imgReader)
Constructs a new PNGImage 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)
loadOriginalData
protected boolean loadOriginalData()
Load the original PNG data.
This loads the original PNG data as is into memory.
- loadOriginalData in interface AbstractFopImage
- true if loaded false for any error
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.