FingerImageRecord.fromFile Method¶
Module: FingerImageRecord
Definition¶
Creates a FingerImageRecord from a file.
Important
When importing from an ANSI/NIST-ITL 1-2011 (AN2K) transaction, all images in records of type 04 and 14 are imported and added to the list.
Note
For AN2K transaction both traditional and NIEM-XML encodings are supported.
@staticmethod
from_file(format: FingerImageRecordFormat, path: str) -> FingerImageRecord
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record from.path
strin Path to the file to import the finger image record from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
static FingerImageRecord fromFile(FingerImageRecordFormat format, String? path)
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record from.path
Stringin Path to the file to import the finger image record from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
public static FingerImageRecord FromFile(FingerImageRecordFormat format, string path)
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record from.path
stringin Path to the file to import the finger image record from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
public static FingerImageRecord fromFile(FingerImageRecordFormat format, String path) throws FingerException
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record from.path
Stringin Path to the file to import the finger image record from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
public static func fromFile(format: FingerImageRecordFormat, path: String) throws -> FingerImageRecord
Parameters
format
FingerImageRecordFormatin Finger image record format to import the finger image record from.path
Stringin Path to the file to import the finger image record from.
Returns
The newly created finger image record.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerImageRecord_FromFile (
ID3_FINGER_IMAGE_RECORD hFingerImageRecord,
id3FingerImageRecordFormat eFormat,
const char * path)
Parameters
hFingerImageRecord
ID3_FINGER_IMAGE_RECORDin Handle to the FingerImageRecord object.eFormat
id3FingerImageRecordFormatin Finger image record format to import the finger image record from.path
const char *in Path to the file to import the finger image record from.
Returns