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

in Finger image record format to import the finger image record from.

path str
in 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

in Finger image record format to import the finger image record from.

path String
in 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

in Finger image record format to import the finger image record from.

path string
in 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

in Finger image record format to import the finger image record from.

path String
in 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

in Finger image record format to import the finger image record from.

path String
in 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_RECORD
in Handle to the FingerImageRecord object.

in 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

int
An error code.
See id3FingerError file for the list of possible error codes.