generateAsByteArrayFromImageRefs

fun generateAsByteArrayFromImageRefs(images: List<ImageRef>, parameters: TiffGeneratorParameters = TiffGeneratorParameters(), binarize: PageBinarization = PageBinarization.ENABLED_IF_BINARIZATION_FILTER_SET): 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 image ImageRefs from what Tiff file is to be created.

parameters

TiffGeneratorParameters for Tiff file creation.