Package com.pdftools.pdf2image
Class TiffFlateImageOptions
java.lang.Object
com.pdftools.internal.NativeBase
com.pdftools.internal.NativeObject
com.pdftools.pdf2image.ImageOptions
com.pdftools.pdf2image.TiffFlateImageOptions
The settings for TIFF output images using the Flate compression algorithm
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCombine a background with the image (Getter)The color space of the output image (Getter)voidsetBackground(BackgroundType value) Combine a background with the image (Setter)voidsetColorSpace(ColorSpace value) The color space of the output image (Setter)Methods inherited from class com.pdftools.internal.NativeObject
equals, hashCode
-
Constructor Details
-
TiffFlateImageOptions
public TiffFlateImageOptions()
-
-
Method Details
-
getBackground
Combine a background with the image (Getter)
This property allows a choice of which background to combine with the image.
Default:
BackgroundType.WHITE -
setBackground
Combine a background with the image (Setter)
This property allows a choice of which background to combine with the image.
Default:
BackgroundType.WHITE- Throws:
IllegalArgumentException- ifvalueisnull
-
getColorSpace
The color space of the output image (Getter)
If
null, the blending color space of the page is used.Default:
ColorSpace.RGB -
setColorSpace
The color space of the output image (Setter)
If
null, the blending color space of the page is used.Default:
ColorSpace.RGB
-