fop 0.90alpha1

org.apache.fop.image
Class BmpImage

java.lang.Object
  |
  +--org.apache.fop.image.AbstractFopImage
        |
        +--org.apache.fop.image.BmpImage
All 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

Inner classes inherited from class org.apache.fop.image.FopImage
FopImage.ImageInfo
 
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
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, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isTransparent, load, loadDimensions, loadOriginalData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BmpImage

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

loadBitmap

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

fop 0.90alpha1

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