public interface IImageInstance
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerComponent()
Returns the number of bits per component.
|
String |
getColorSpace()
Returns the name of the color space used for this image.
|
String |
getCompression()
Return the compression used for this image.
|
float |
getDisplayHeight()
Returns the height of the image when it is displayed, in points (72 points per inch).
|
float |
getDisplayWidth()
Returns the width of the image when it is displayed, in points (72 points per inch).
|
float |
getDisplayX()
Returns the x coordinate of the image when it is displayed, in points (72 points per inch).
|
float |
getDisplayY()
Returns the y coordinate of the image when it is displayed, in points (72 points per inch).
|
float |
getDPI_X()
Returns the horizontal DPI value for this image instance.
|
float |
getDPI_Y()
Returns the vertical DPI value for this image instance.
|
int |
getHeight()
Return the height of the image, in pixels.
|
BufferedImage |
getImage()
This method returns a BufferedImage object for the image embedded in the PDF document.
|
int |
getNumComponents()
Returns the number of color components in the image.
|
int |
getPageIndex()
Returns the page index where this image instance is displayed.
|
int |
getWidth()
Return the width of the image, in pixels.
|
BufferedImage getImage() throws PDFException
PDFException
int getWidth() throws PDFException
PDFException
int getPageIndex()
float getDisplayX()
float getDisplayY()
float getDisplayWidth()
float getDisplayHeight()
float getDPI_X() throws PDFException
PDFException
float getDPI_Y() throws PDFException
PDFException
int getHeight() throws PDFException
PDFException
- if there is an error reading the image.String getCompression() throws PDFException
PDFException
- if there is an error reading the image.String getColorSpace() throws PDFException
PDFException
- if there is an error reading the image.int getNumComponents() throws PDFException
PDFException
- if there is an error reading the image.int getBitsPerComponent() throws PDFException
PDFException
- if there is an error reading the image.