Package io.scanbot.sdk.tiff.model
Class TIFFImageWriterParameters
-
- All Implemented Interfaces:
public final class TIFFImageWriterParameters
Class used to define parameters for TIFF format writer.
-
-
Field Summary
Fields Modifier and Type Field Description private final ParametricFilter
filter
private final Integer
dpi
private final TIFFImageWriterCompressionOptions
compression
private final List<TIFFImageWriterUserDefinedField>
userDefinedFields
-
Constructor Summary
Constructors Constructor Description TIFFImageWriterParameters(ParametricFilter binarizationFilter, Integer dpi, TIFFImageWriterCompressionOptions compression, List<TIFFImageWriterUserDefinedField> userDefinedFields)
-
Method Summary
Modifier and Type Method Description final ParametricFilter
getFilter()
Defines if target document should be binarized. final Integer
getDpi()
Defines target document DPI. final TIFFImageWriterCompressionOptions
getCompression()
Defines target document compression algorithm. final List<TIFFImageWriterUserDefinedField>
getUserDefinedFields()
Array that contains user-defined TIFF tags that should be written into result TIFF document. final static TIFFImageWriterParameters
defaultParameters()
Generates default parameters set for coloured images. final static TIFFImageWriterParameters
defaultParametersForBinaryImages()
Generates default parameters set for binarized images. -
-
Constructor Detail
-
TIFFImageWriterParameters
TIFFImageWriterParameters(ParametricFilter binarizationFilter, Integer dpi, TIFFImageWriterCompressionOptions compression, List<TIFFImageWriterUserDefinedField> userDefinedFields)
-
-
Method Detail
-
getFilter
final ParametricFilter getFilter()
Defines if target document should be binarized.
-
getCompression
final TIFFImageWriterCompressionOptions getCompression()
Defines target document compression algorithm.
-
getUserDefinedFields
final List<TIFFImageWriterUserDefinedField> getUserDefinedFields()
Array that contains user-defined TIFF tags that should be written into result TIFF document.
-
defaultParameters
final static TIFFImageWriterParameters defaultParameters()
Generates default parameters set for coloured images.
-
defaultParametersForBinaryImages
final static TIFFImageWriterParameters defaultParametersForBinaryImages()
Generates default parameters set for binarized images.
-
-
-
-