public static class Convert.TiffOutputOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
e_art
The Constant e_art.
|
static int |
e_bleed
The Constant e_bleed.
|
static int |
e_crop
The Constant e_crop.
|
static int |
e_media
The Constant e_media.
|
static int |
e_op_off |
static int |
e_op_on |
static int |
e_op_pdfx_on |
static int |
e_trim
The Constant e_trim.
|
Constructor and Description |
---|
TiffOutputOptions()
Creates an TiffOutputOptions object with default settings
|
Modifier and Type | Method and Description |
---|---|
void |
setAnnots(boolean enable)
Enables or disables drawing of
annotations.
|
void |
setBox(int type)
Specifies the page box/region to rasterize.
|
void |
setCMYK(boolean enable)
Render and export the image in CMYK mode.
|
void |
setDither(boolean enable)
Enables dithering when the image is
exported in palletized or monochrome mode.
|
void |
setDPI(double dpi)
The output resolution, from 1 to 1000, in Dots Per Inch (DPI).
|
void |
setGamma(double gamma)
Sets the gamma factor used for anti-aliased
rendering.
|
void |
setGray(boolean enable)
Render and export the image in grayscale
mode.
|
void |
setHRes(int hres)
Sets the width of the output image, in pixels.
|
void |
setMono(boolean enable)
Export the rendered image as 1 bit per
pixel (monochrome) image.
|
void |
setOverprint(int mode)
Enable or disable support for overprint and overprint simulation.
|
void |
setPages(java.lang.String page_desc)
Specifies the list of pages to convert.
|
void |
setPalettized(boolean enable)
Enabled the output of palettized TIFFs.
|
void |
setPrintmode(boolean enable)
Renders annotations in the print mode.
|
void |
setRotate(double x1,
double y1,
double x2,
double y2)
User definable clip box.
|
void |
setRotate(int rotate)
Rotates all pages by a given number of
degrees counterclockwise.
|
void |
setSmooth(boolean enable)
Enables or disables image
smoothing (default: enabled).
|
void |
setTransparentPage(boolean enable)
Sets the page color to transparent.
|
void |
setVRes(int vres)
Sets the height of the output image, in pixels.
|
public static final int e_media
public static final int e_crop
public static final int e_bleed
public static final int e_trim
public static final int e_art
public static final int e_op_off
public static final int e_op_on
public static final int e_op_pdfx_on
public TiffOutputOptions()
public void setBox(int type) throws PDFNetException
type
- The type cf box to usePDFNetException
public void setRotate(int rotate) throws PDFNetException
rotate
- The type cf box to usePDFNetException
public void setRotate(double x1, double y1, double x2, double y2) throws PDFNetException
x1
- The value of the x1 coordinatey1
- The value of the y1 coordinatex2
- The value of the x2 coordinatey2
- The value of the y2 coordinatePDFNetException
public void setPages(java.lang.String page_desc) throws PDFNetException
page_desc
- A description of the pages to be converted.PDFNetException
public void setOverprint(int mode) throws PDFNetException
mode
- e_op_on: always enabled; e_op_off: always disabled; e_op_pdfx_on: enabled for PDF/X files only.PDFNetException
public void setCMYK(boolean enable) throws PDFNetException
enable
- if true then cmyk will be enabledPDFNetException
public void setDither(boolean enable) throws PDFNetException
enable
- if true then dithering will be enabledPDFNetException
public void setGray(boolean enable) throws PDFNetException
enable
- if true then grayscale will be enabledPDFNetException
public void setMono(boolean enable) throws PDFNetException
enable
- if true then monochrome will be enabledPDFNetException
public void setAnnots(boolean enable) throws PDFNetException
enable
- if false then annotations will not be drawnPDFNetException
public void setSmooth(boolean enable) throws PDFNetException
enable
- if false then images will not be smoothedPDFNetException
public void setPrintmode(boolean enable) throws PDFNetException
enable
- if true then print mode will be enabledPDFNetException
public void setTransparentPage(boolean enable) throws PDFNetException
enable
- if true then transparent page will be enabledPDFNetException
public void setPalettized(boolean enable) throws PDFNetException
enable
- if true then the TIFF will be palettizedPDFNetException
public void setDPI(double dpi) throws PDFNetException
dpi
- specifies the output DPIPDFNetException
public void setGamma(double gamma) throws PDFNetException
gamma
- specifies the gamma factorPDFNetException
public void setHRes(int hres) throws PDFNetException
hres
- specifies the widthPDFNetException
public void setVRes(int vres) throws PDFNetException
vres
- specifies the widthPDFNetException