Skip to main content

Creating TIFF documents

The Scanbot SDK provides the ability to write scanned images into a TIFF file.

The TIFF image writer class 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 an Document

Creating a TIFF from an Document
loading...

Example code for creating a TIFF from an image file

Creating a TIFF from an images
loading...

You can omit the TIFFImageWriterParameters parameter to use the default PDF settings. In this case TIFFImageWriterParameters.defaultConfig() or TIFFImageWriterParameters.defaultParametersForBinaryImages().

The details of TIFFImageWriterParameters can be found in API reference.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?