generateAsByteArrayFromBitmaps

fun generateAsByteArrayFromBitmaps(images: List<Bitmap>, parameters: TiffGeneratorParameters = TiffGeneratorParameters()): Result<ByteArray>

Write single-page or multi-page Tiff file to the buffer.

Return

Result.Success with byte array if file created successfully, Result.*Error otherwise.

Parameters

images

The array of source images from what Tiff file is to be created.

parameters

TiffGeneratorParameters for Tiff file creation.

Throws

IOException if Tiff generation failed because of the invalid license.