fop 0.90alpha1

org.apache.fop.image
Class ImageIOImage

java.lang.Object
  extended byorg.apache.fop.image.AbstractFopImage
      extended byorg.apache.fop.image.ImageIOImage
All Implemented Interfaces:
FopImage

public class ImageIOImage
extends AbstractFopImage

FopImage object using ImageIO.

See Also:
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.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
ImageIOImage(FopImage.ImageInfo info)
          Creates a new ImageIOImage.
 
Method Summary
protected  boolean loadBitmap()
          Load a bitmap array of the image.
protected  boolean loadDimensions()
          Load the dimensions of the image.
 
Methods inherited from class org.apache.fop.image.AbstractFopImage
getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isTransparent, load, loadOriginalData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageIOImage

public ImageIOImage(FopImage.ImageInfo info)
Creates a new ImageIOImage.

Parameters:
info - the image info from the ImageReader
Method Detail

loadDimensions

protected boolean loadDimensions()
Description copied from class: AbstractFopImage
Load the dimensions of the image. All implementations should override this to get and return the dimensions.

Overrides:
loadDimensions in class AbstractFopImage
Returns:
true if the loading was successful
See Also:
AbstractFopImage.loadDimensions()

loadBitmap

protected boolean loadBitmap()
Description copied from class: AbstractFopImage
Load a bitmap array of the image. If the renderer requires a bitmap image then the implementations should override this to load the bitmap.

Overrides:
loadBitmap in class AbstractFopImage
Returns:
true if the loading was successful
See Also:
AbstractFopImage.loadBitmap()

fop 0.90alpha1

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