|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.pdf2.PageExtractor.Image
public class PageExtractor.Image
A class representing a bitmap image which is extracted from the PageExtractor. Each image has a location on the page and a RenderedImage
which actually contains the image. Images may be repeated over pages, or on
one page, in which case the Image returned by getImage() will be the
same object.
| Method Summary | |
|---|---|
float |
getAngle()
Return the angle of rotation of this image on the page, in degrees clockwise from 12 o'clock. |
float[] |
getCorners()
Return the four corners (x1,y1) (x2,y2) (x3,y3) (x4,y4) of the quadrilateral that encompasses the image, specified clockwise from bottom left. |
float |
getDPIX()
Get the horizontal resolution of the image in dots per inch |
float |
getDPIY()
Get the vertical resolution of the image in dots per inch |
RenderedImage |
getImage()
Return the image |
Reader |
getMetaData()
Return any XMP MetaData which has been set on the image, or null if none exists. |
PDFPage |
getPage()
Return the PDFPage this image was found on - simply the page
the parent PageExtractor was created from |
int |
getUniqueId()
Return a unique ID for the underlying image. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public float getDPIX()
public float getDPIY()
public PDFPage getPage()
PDFPage this image was found on - simply the page
the parent PageExtractor was created from
public RenderedImage getImage()
public int getUniqueId()
public Reader getMetaData()
throws IOException
null if none exists.
IOExceptionPDF.getMetaData(),
PDFImage.setMetaData(java.lang.String),
PDFImage.getMetaData()public float[] getCorners()
public float getAngle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||