public class RMPDFImageReader extends java.lang.Object implements RMImageData.ImageReader
Constructor and Description |
---|
RMPDFImageReader(RMImageData anImageData)
Creates a new PDF image reader.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
canRead(byte[] data)
Returns whether PDF image reader can read the file provided in the byte array.
|
static boolean |
canRead(java.lang.String anExt)
Returns whether PDF image reader can read files with given extension.
|
java.awt.Image |
getImage(int page) |
RMShape |
getImageShape(int page) |
PDFFile |
getPDFFile()
Returns a PDF file for the PDF image data (creating if necessary).
|
void |
readBasicInfo()
Reads the basic info from PDF data.
|
void |
readBytesDecoded()
ImageReader method - just a stub, since PDF images don't have image bytes.
|
public PDFFile _pdfFile
public RMPDFImageReader(RMImageData anImageData)
public static boolean canRead(java.lang.String anExt)
public static boolean canRead(byte[] data)
public void readBasicInfo()
readBasicInfo
in interface RMImageData.ImageReader
public void readBytesDecoded()
readBytesDecoded
in interface RMImageData.ImageReader
public PDFFile getPDFFile()
public RMShape getImageShape(int page)
public java.awt.Image getImage(int page)