public static final class TiffSaver.SaveOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
author
Author for writing to file.
|
CompressionScheme |
compressionScheme
Compression scheme used on the image data.
|
java.lang.String |
copyright
Copyright for writing to file
This parameter is link to TIFFTAG_COPYRIGHT tag
|
java.lang.String |
imageDescription
A string that describes the subject of the image.
|
long |
inAvailableMemory
Number of bytes that may be allocated during the Tiff file operations.
|
boolean |
inThrowException
If set to true, saver will throw exceptions if some errors appeared while writing tiff.
|
Orientation |
orientation
Orientation that will used for saving image
By default uses ORIENTATION_TOPLEFT
This parameter is link to TIFFTAG_ORIENTATION tag |
ResolutionUnit |
resUnit
The unit of measurement for XResolution and YResolution.
|
float |
xResolution
The number of pixels per
resUnit in the ImageWidth direction. |
float |
yResolution
The number of pixels per
resUnit in the ImageHeight direction. |
| Constructor and Description |
|---|
SaveOptions() |
public long inAvailableMemory
-1 means memory is unlimited.
Default value is 244Mb
public boolean inThrowException
public CompressionScheme compressionScheme
Default value is COMPRESSION_NONE
This parameter is link to TIFFTAG_COMPRESSION tag
public Orientation orientation
Orientation that will used for saving image
By default uses ORIENTATION_TOPLEFT
This parameter is link to TIFFTAG_ORIENTATION tag
public float xResolution
resUnit in the ImageWidth direction.
It is not mandatory that the image be actually displayed or printed at the size implied by this parameter. It is up to the application to use this information as it wishes.
Defualt value is 0
public float yResolution
resUnit in the ImageHeight direction.
It is not mandatory that the image be actually displayed or printed at the size implied by this parameter. It is up to the application to use this information as it wishes.
Defualt value is 0
public ResolutionUnit resUnit
To be used with xResolution and yResolution.
The specification defines these values:
Default value is ResolutionUnit.NONE
public java.lang.String author
This parameter is link to TIFFTAG_ARTIST tag
public java.lang.String copyright
This parameter is link to TIFFTAG_COPYRIGHT tag
public java.lang.String imageDescription
This parameter is link to TIFFTAG_IMAGEDESCRIPTION tag