FingerImageRecord.toBuffer Method¶
Module: FingerImageRecord
Definition¶
Exports the FingerImageRecord to a buffer.
Important
For ANSI/NIST-ITL 1-2011 (AN2K) transaction export, all images will be exported in WSQ in type 14 records, NIEM-XML encoding mode is not supported.
Uint8List toBuffer(FingerImageRecordFormat format, FingerImageCompressionAlgorithm compressionAlgorithm, double compressionLevel)
Parameters
format FingerImageRecordFormatin Finger image record format to export the finger image object to.
compressionAlgorithm FingerImageCompressionAlgorithmin Compression algorithm used to compress the images in a record. Note: this value is not prioritary versus the value in an image object, but if the image does not have a compression algorithm, then the one passed here is used.
compressionLevel doublein Compression level. Range and default value depends on the compression algorithm, see CompressionAlgorithm enumeration for more details.
Returns
Uint8ListBuffer to export the finger image object to.
Exceptions
An error has occurred during Finger Library execution.