Class ImageRawEPS
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.AbstractImage
org.apache.xmlgraphics.image.loader.impl.ImageRawStream
org.apache.xmlgraphics.image.loader.impl.ImageRawEPS
- All Implemented Interfaces:
Image
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.xmlgraphics.image.loader.impl.ImageRawStream
ImageRawStream.ByteArrayStreamFactory, ImageRawStream.InputStreamFactory
-
Constructor Summary
ConstructorsConstructorDescriptionImageRawEPS
(ImageInfo info, InputStream in) Main constructor.ImageRawEPS
(ImageInfo info, ImageRawStream.InputStreamFactory streamFactory) Main constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the bounding box of the EPS image.Methods inherited from class org.apache.xmlgraphics.image.loader.impl.ImageRawStream
createInputStream, getFlavor, getMimeType, isCacheable, setInputStreamFactory, writeTo
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImage
getColorSpace, getICCProfile, getInfo, getSize, toString
-
Constructor Details
-
ImageRawEPS
Main constructor.- Parameters:
info
- the image info objectstreamFactory
- the InputStreamFactory that is used to create InputStream instances
-
ImageRawEPS
Main constructor.- Parameters:
info
- the image info objectin
- the InputStream with the raw content
-
-
Method Details
-
getBoundingBox
Returns the bounding box of the EPS image.- Returns:
- the bounding box
-