fop 0.94

org.apache.fop.image
Class BmpImage

java.lang.Object
  extended by org.apache.fop.image.AbstractFopImage
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface 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, 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, loadDefaultOriginalData, 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.94

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