org.apache.fop.image

Class BmpImage

Implemented Interfaces:
FopImage

public class BmpImage
extends AbstractFopImage

Bitmap image. This supports loading a bitmap image into bitmap data.
Author:
Art WELCH
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

BmpImage(FopImage.ImageInfo imgInfo)
Create a bitmap image with the image data.

Method Summary

protected boolean
loadBitmap()
Load the bitmap.

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

BmpImage

public BmpImage(FopImage.ImageInfo imgInfo)
Create a bitmap image with the image data.
Parameters:
imgInfo - the image information

Method Details

loadBitmap

protected boolean loadBitmap()
Load the bitmap. This laods the bitmap data from the bitmap image.
Overrides:
loadBitmap in interface AbstractFopImage
Returns:
true if it was loaded successfully

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