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
formatFingerImageRecordFormatin Finger image record format to import the finger image record from.pathstrin 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
formatFingerImageRecordFormatin Finger image record format to import the finger image record from.pathStringin 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
formatFingerImageRecordFormatin Finger image record format to import the finger image record from.pathstringin 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
formatFingerImageRecordFormatin Finger image record format to import the finger image record from.pathStringin 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
formatFingerImageRecordFormatin Finger image record format to import the finger image record from.pathStringin 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
hFingerImageRecordID3_FINGER_IMAGE_RECORDin Handle to the FingerImageRecord object.eFormatid3FingerImageRecordFormatin Finger image record format to import the finger image record from.pathconst char *in Path to the file to import the finger image record from.
Returns