|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdf.TIFFCompression
com.qoppa.pdf.TIFFOptions
Options used for finer control of the TIFF output format. This object is used when additional options, such as the byte order, need to be specified when saving PDF pages as TIFF images.
| Field Summary | |
static String |
TIFF_CCITT_RLE
TIFF CCITT Modified Huffman RLE compression. |
static String |
TIFF_CCITT_T4
TIFF CCITT Group 3 fax encoding. |
static String |
TIFF_CCITT_T6
TIFF CCITT Group 4 fax encoding. |
static String |
TIFF_DEFLATE
TIFF Deflate lossless compression (Zip-in-TIFF). |
static String |
TIFF_FAX_GROUP3
TIFF CCITT Group 3 fax encoding. |
static String |
TIFF_FAX_GROUP4
TIFF CCITT Group 4 fax encoding. |
static String |
TIFF_JPEG
TIFF JPEG-in-TIFF compression. |
static String |
TIFF_LZW
TIFF LZW Compression |
static String |
TIFF_NO_COMPRESSION
TIFF with no compression. |
static String |
TIFF_PACKBITS
TIFF Byte-oriented run-length encoding "PackBits" compression. |
static String |
TIFF_ZLIB
TIFF ZLib Compression. |
| Constructor Summary | |
TIFFOptions(int dpi,
String compression)
TIFFOptions constructor that allows setting of DPI and compression format. |
|
| Method Summary | |
ByteOrder |
getByteOrder()
Gets the byte order to use when saving a TIFF file. |
String |
getCompression()
Return the current compression setting fo this TIFFOptions. |
int |
getDPI()
Return the DPI setting for this TIFFOptions. |
int |
getRowsPerStrip()
Returns the number of rows per strip that will be used when saving a TIFF file. |
void |
setByteOrder(ByteOrder byteOrder)
Sets the byte order to use when saving a TIFF file. |
void |
setRowsPerStrip(int rowsPerStrip)
Sets the number of rows per strip to use when writing the TIFF file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String TIFF_DEFLATE
public static final String TIFF_CCITT_RLE
public static final String TIFF_CCITT_T4
public static final String TIFF_FAX_GROUP3
public static final String TIFF_CCITT_T6
public static final String TIFF_FAX_GROUP4
public static final String TIFF_JPEG
public static final String TIFF_LZW
public static final String TIFF_PACKBITS
public static final String TIFF_ZLIB
public static final String TIFF_NO_COMPRESSION
| Constructor Detail |
public TIFFOptions(int dpi,
String compression)
dpi - Dots per inch at which to render the image, 72 is the native PDF resolution and is equivalent to 100% scale..compression - The type of TIFF compression to use. This value needs to be one of
these predefined values:| Method Detail |
public int getDPI()
public String getCompression()
public ByteOrder getByteOrder()
public void setByteOrder(ByteOrder byteOrder)
byteOrder - The byte order to use, this can be either ByteOrder.BIG_ENDIAN or
BYTEOrder.LITTLE_ENDIAN.public void setRowsPerStrip(int rowsPerStrip)
rowsPerStrip - The number of rows per strip in the output file. Use -1 to output the
file as a single strip file.public int getRowsPerStrip()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||