org.apache.fop.image

Class ImageIOImage

Implemented Interfaces:
FopImage

public class ImageIOImage
extends AbstractFopImage

FopImage object using ImageIO.
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

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

Method Summary

byte[]
getSoftMask()
boolean
hasSoftMask()
protected boolean
loadBitmap()
protected boolean
loadDimensions()
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

ImageIOImage

public ImageIOImage(FopImage.ImageInfo info)
Creates a new ImageIOImage.
Parameters:
info - the image info from the ImageReader

Method Details

getSoftMask

public byte[] getSoftMask()
Specified by:
getSoftMask in interface FopImage
Overrides:
getSoftMask in interface AbstractFopImage

hasSoftMask

public boolean hasSoftMask()
Specified by:
hasSoftMask in interface FopImage
Overrides:
hasSoftMask in interface AbstractFopImage

loadBitmap

protected boolean loadBitmap()
Overrides:
loadBitmap in interface AbstractFopImage

loadDimensions

protected boolean loadDimensions()
Overrides:
loadDimensions in interface AbstractFopImage

loadOriginalData

protected boolean loadOriginalData()
Overrides:
loadOriginalData in interface AbstractFopImage

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