public interface IImageResource
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.
|
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 |
getWidth()
Return the width of the image, in pixels.
|
BufferedImage getImage() throws PDFException
PDFException
int getWidth() 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.