Creating TIFF documents
The Scanbot SDK provides the ability to write scanned images into a TIFF file.
The TIFF generator includes convenient functions to write scanned images into a multi-page TIFF file, adjust the file's parameters, and encrypt the newly created file.
Note: The SDK can optionally encrypt the TIFF file, offering a high level of protection. To decrypt the TIFF file, you can use a provided encryption key or generate the key yourself using a combination of salt, password, and iterations.
Example code for creating a TIFF from a document
loading...
Example code for creating a TIFF from an image file
loading...
Supported TIFF compression types:
TiffCompression.NONE
TiffCompression.CCITTRLE
TiffCompression.CCITT_T4
TiffCompression.CCITT_T6
TiffCompression.CCITTRLEW
TiffCompression.LZW
TiffCompression.PACKBITS
TiffCompression.DEFLATE
TiffCompression.ADOBE_DEFLATE
Please note that some compression types are only compatible with binarized images (1-bit encoded black & white images).
Refer to the list of PredefinedCompressionTypes.binarizedOnlyCompressionTypes()
for more details.
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial License