fop 0.90alpha1

org.apache.fop.image
Class PNGImage

java.lang.Object
  |
  +--org.apache.fop.image.AbstractFopImage
        |
        +--org.apache.fop.image.BatikImage
              |
              +--org.apache.fop.image.PNGImage
All Implemented Interfaces:
FopImage

public class PNGImage
extends BatikImage

FopImage object using PNG

Author:
Eric SCHAEFFER
See Also:
AbstractFopImage, FopImage

Inner classes inherited from class org.apache.fop.image.FopImage
FopImage.ImageInfo
 
Fields inherited from class org.apache.fop.image.BatikImage
cr, seekableInput
 
Fields inherited from class org.apache.fop.image.AbstractFopImage
bitmaps, bitsPerPixel, colorSpace, dpiHorizontal, dpiVertical, height, imageInfo, inputStream, 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.batik.ext.awt.image.rendered.CachableRed decodeImage(org.apache.batik.ext.awt.image.codec.SeekableStream stream)
          Decodes the image from the stream.
 
Methods inherited from class org.apache.fop.image.BatikImage
getSoftMask, hasSoftMask, loadBitmap, loadDimensions, loadImage
 
Methods inherited from class org.apache.fop.image.AbstractFopImage
getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getTransparentColor, getVerticalResolution, getWidth, isTransparent, load, loadOriginalData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PNGImage

public PNGImage(FopImage.ImageInfo imgReader)
Constructs a new PNGImage instance.
Parameters:
imgReader - basic metadata for the image
Method Detail

decodeImage

protected org.apache.batik.ext.awt.image.rendered.CachableRed decodeImage(org.apache.batik.ext.awt.image.codec.SeekableStream stream)
                                                                   throws java.io.IOException
Description copied from class: BatikImage
Decodes the image from the stream.
Overrides:
decodeImage in class BatikImage
See Also:
BatikImage.decodeImage(org.apache.batik.ext.awt.image.codec.SeekableStream)

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.