org.apache.fop.image

Class JAIImage

Implemented Interfaces:
FopImage

public class JAIImage
extends AbstractFopImage

FopImage object using JAI.
Author:
Eric SCHAEFFER
See Also:
AbstractFopImage, FopImage

Field Summary

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

JAIImage(FopImage.ImageInfo imgInfo)
Create a new JAI image.

Method Summary

protected boolean
loadBitmap()
protected boolean
loadDimensions()
protected void
loadImage()
Loads the image from the inputstream
protected boolean
loadOriginalData()

Methods inherited from class org.apache.fop.image.AbstractFopImage

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

Constructor Details

JAIImage

public JAIImage(FopImage.ImageInfo imgInfo)
Create a new JAI image.
Parameters:
imgInfo - the image info for this JAI image

Method Details

loadBitmap

protected boolean loadBitmap()
Overrides:
loadBitmap in interface AbstractFopImage

loadDimensions

protected boolean loadDimensions()
Overrides:
loadDimensions in interface AbstractFopImage

loadImage

protected void loadImage()
Loads the image from the inputstream

loadOriginalData

protected boolean loadOriginalData()
Overrides:
loadOriginalData in interface AbstractFopImage

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