fop 0.90alpha1

org.apache.fop.image
Class EPSImage

java.lang.Object
  |
  +--org.apache.fop.image.AbstractFopImage
        |
        +--org.apache.fop.image.EPSImage
All Implemented Interfaces:
FopImage

public class EPSImage
extends AbstractFopImage

EPS image handler. This handles the Encapulated PostScript images. It gets the dimensions and original data from the analyser.

See Also:
AbstractFopImage, FopImage

Inner Class Summary
static class EPSImage.EPSData
          Data for EPS image.
 
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
EPSImage(FopImage.ImageInfo imgInfo)
          Create an EPS image with the image information.
 
Method Summary
 int[] getBBox()
          Return the bounding box
 java.lang.String getDocName()
          Return the name of the eps
 byte[] getEPSImage()
          Get the eps image.
 
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, loadBitmap, loadDimensions, loadOriginalData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPSImage

public EPSImage(FopImage.ImageInfo imgInfo)
Create an EPS image with the image information.
Parameters:
imgInfo - the information containing the data and bounding box
Method Detail

getDocName

public java.lang.String getDocName()
Return the name of the eps
Returns:
the name of the eps

getBBox

public int[] getBBox()
Return the bounding box
Returns:
an int array containing the bounding box

getEPSImage

public byte[] getEPSImage()
Get the eps image.
Returns:
the original eps image data

fop 0.90alpha1

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