org.apache.fop.image

Class EmfImage

Implemented Interfaces:
FopImage

public class EmfImage
extends AbstractFopImage

Enhanced metafile image. This supports loading a EMF image.
Author:
Peter Herweg
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

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

Method Summary

protected boolean
loadOriginalData()
Load the original EMF data.

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

EmfImage

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

Method Details

loadOriginalData

protected boolean loadOriginalData()
Load the original EMF data. This loads the original EMF data and reads the color space, and icc profile if any.
Overrides:
loadOriginalData in interface AbstractFopImage
Returns:
true if loaded false for any error

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