Class ImageRawEPS

All Implemented Interfaces:
Image

public class ImageRawEPS extends ImageRawStream
This class is an implementation of the Image interface exposing EPS file. It provides an InputStream to access the EPS content and the decoded high-res bounding box.
  • Constructor Details

    • ImageRawEPS

      public ImageRawEPS(ImageInfo info, ImageRawStream.InputStreamFactory streamFactory)
      Main constructor.
      Parameters:
      info - the image info object
      streamFactory - the InputStreamFactory that is used to create InputStream instances
    • ImageRawEPS

      public ImageRawEPS(ImageInfo info, InputStream in)
      Main constructor.
      Parameters:
      info - the image info object
      in - the InputStream with the raw content
  • Method Details

    • getBoundingBox

      public Rectangle2D getBoundingBox()
      Returns the bounding box of the EPS image.
      Returns:
      the bounding box