public class RMImageDataPDF extends RMImageData
EMPTY
Constructor and Description |
---|
RMImageDataPDF() |
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.
|
Image |
createImage()
Override to get image from PDFFile.
|
RMImageData |
getPage(int aPage)
Returns the image data for a successive page.
|
PDFFile |
getPDFFile()
Returns the PDF file for the PDF image data (creating if necessary).
|
void |
paint(Painter aPntr,
double x,
double y,
double w,
double h)
Draw at maximum resolution.
|
void |
readBasicInfo()
Reads the basic info from PDF data.
|
clone, equals, getAlphaColorIndex, getBitsPerPixel, getBitsPerSample, getBytes, getBytesDecoded, getBytesPerRow, getColorMap, getHeight, getImage, getImageData, getImageHeight, getImageWidth, getName, getPageCount, getPageIndex, getSamplesPerPixel, getSource, getSourceURL, getType, getWidth, hasAlpha, isColor, isIndexedColor, isValid
public PDFFile getPDFFile()
public void readBasicInfo()
readBasicInfo
in class RMImageData
public Image createImage()
createImage
in class RMImageData
public RMImageData getPage(int aPage)
getPage
in class RMImageData
public void paint(Painter aPntr, double x, double y, double w, double h)
paint
in class RMImageData
public static boolean canRead(java.lang.String anExt)
public static boolean canRead(byte[] data)