|
fop 0.94 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.image.AbstractFopImage
org.apache.fop.image.XmlGraphicsCommonsImage
org.apache.fop.image.PNGImage
FopImage object using PNG
AbstractFopImage
,
FopImage
Nested Class Summary |
Nested classes inherited from class org.apache.fop.image.FopImage |
FopImage.ImageInfo |
Field Summary |
Fields inherited from class org.apache.fop.image.XmlGraphicsCommonsImage |
cr, seekableInput |
Fields inherited from class org.apache.fop.image.AbstractFopImage |
bitmaps, bitsPerPixel, colorSpace, dpiHorizontal, dpiVertical, height, imageInfo, inputStream, invertImage, isTransparent, loaded, log, raw, transparentColor, width |
Fields inherited from interface org.apache.fop.image.FopImage |
BITMAP, DIMENSIONS, ORIGINAL_DATA |
Constructor Summary | |
PNGImage(FopImage.ImageInfo imgReader)
Constructs a new PNGImage instance. |
Method Summary | |
protected org.apache.xmlgraphics.image.rendered.CachableRed |
decodeImage(org.apache.xmlgraphics.image.codec.util.SeekableStream stream)
Decodes the image from the stream. |
protected boolean |
loadOriginalData()
Load the original PNG data. |
Methods inherited from class org.apache.fop.image.XmlGraphicsCommonsImage |
getSoftMask, hasSoftMask, loadBitmap, loadDimensions, loadImage |
Methods inherited from class org.apache.fop.image.AbstractFopImage |
getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicAlignmentAdjust, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getTransparentColor, getVerticalResolution, getWidth, isInverted, isTransparent, load, loadDefaultOriginalData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PNGImage(FopImage.ImageInfo imgReader)
imgReader
- basic metadata for the imageMethod Detail |
protected org.apache.xmlgraphics.image.rendered.CachableRed decodeImage(org.apache.xmlgraphics.image.codec.util.SeekableStream stream) throws java.io.IOException
XmlGraphicsCommonsImage
decodeImage
in class XmlGraphicsCommonsImage
stream
- the stream to read the image from
java.io.IOException
- in case an I/O problem occursXmlGraphicsCommonsImage.decodeImage(
org.apache.xmlgraphics.image.codec.util.SeekableStream)
protected boolean loadOriginalData()
loadOriginalData
in class AbstractFopImage
|
fop 0.94 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |