public class TiffFlateImageOptions extends ImageOptions
Flate is a lossless compression algorithm. It is useful for the compression of large images with no loss in quality.
For the output file name, it is recommended to use the file extension ".tif".
Constructor | Description |
---|---|
TiffFlateImageOptions() |
Modifier and Type | Method | Description |
---|---|---|
BackgroundType |
getBackground() |
Combine a background with the image (Getter)
|
ColorSpace |
getColorSpace() |
The color space of the output image (Getter)
|
void |
setBackground(BackgroundType value) |
Combine a background with the image (Setter)
|
void |
setColorSpace(ColorSpace value) |
The color space of the output image (Setter)
|
equals, hashCode
public BackgroundType getBackground()
This property allows a choice of which background to combine with the image.
Default: BackgroundType.WHITE
public void setBackground(BackgroundType value)
This property allows a choice of which background to combine with the image.
Default: BackgroundType.WHITE
java.lang.IllegalArgumentException
- if value
is null
public ColorSpace getColorSpace()
If null
, the blending color space of the page is used.
Default: ColorSpace.RGB
public void setColorSpace(ColorSpace value)
If null
, the blending color space of the page is used.
Default: ColorSpace.RGB