public abstract class PDFtoImageConvertor extends Object
| Modifier and Type | Field and Description |
|---|---|
static Boolean |
allowPagesSmallerThanPageSize |
static Integer |
bestQualityMaxScaling |
double |
crh |
double |
crw |
double |
crx |
double |
cry |
int |
h |
DynamicVectorRenderer |
imageDisplay |
AffineTransform |
imageScaling |
protected boolean |
isFX |
int |
mediaH |
float |
multiplyer
custom upscale val for JPedal settings
|
boolean |
rotated |
int |
rotation |
int |
w |
| Constructor and Description |
|---|
PDFtoImageConvertor(float multiplyer,
DecoderOptions options) |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
convert(DecoderResults resultsFromDecode,
int displayRotation,
PdfResources res,
ExternalHandlers externalHandlers,
int renderMode,
PdfPageData pageData,
AcroRenderer formRenderer,
float scaling,
PdfObjectReader currentPdfFile,
int pageIndex,
boolean imageIsTransparent,
String currentPageOffset) |
DynamicVectorRenderer |
getDisplay(int pageIndex,
ObjectStore localStore,
boolean isTransparent) |
float |
getMultiplyer() |
BufferedImage |
pageToImage(boolean imageIsTransparent,
PdfStreamDecoder currentImageDecoder,
float scaling,
PdfObject pdfObject,
AcroRenderer formRenderer) |
void |
setParams(float scaling,
PdfPageData pageData,
int pageIndex) |
public float multiplyer
public static Boolean allowPagesSmallerThanPageSize
public static Integer bestQualityMaxScaling
public DynamicVectorRenderer imageDisplay
public AffineTransform imageScaling
public int mediaH
public int w
public int h
public int rotation
public double crw
public double crh
public double crx
public double cry
public boolean rotated
protected boolean isFX
public PDFtoImageConvertor(float multiplyer,
DecoderOptions options)
public BufferedImage convert(DecoderResults resultsFromDecode, int displayRotation, PdfResources res, ExternalHandlers externalHandlers, int renderMode, PdfPageData pageData, AcroRenderer formRenderer, float scaling, PdfObjectReader currentPdfFile, int pageIndex, boolean imageIsTransparent, String currentPageOffset) throws PdfException
PdfExceptionpublic float getMultiplyer()
public DynamicVectorRenderer getDisplay(int pageIndex, ObjectStore localStore, boolean isTransparent)
public BufferedImage pageToImage(boolean imageIsTransparent, PdfStreamDecoder currentImageDecoder, float scaling, PdfObject pdfObject, AcroRenderer formRenderer) throws PdfException
PdfExceptionpublic void setParams(float scaling,
PdfPageData pageData,
int pageIndex)
Copyright © 2017. All rights reserved.