fop 0.94

org.apache.fop.image
Class EPSImage

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

Nested Class Summary
static class EPSImage.EPSData
          Data for EPS image.
 
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
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, getIntrinsicAlignmentAdjust, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isInverted, isTransparent, load, loadBitmap, loadDefaultOriginalData, 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.94

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