Fingerprint API > BS2_GetLastFingerprintImage
Extracts the image of the last scanned fingerprint using the BS2_ScanFingerprint API.
#include "BS_API.h" int BS2_GetLastFingerprintImage(void* context, uint32_t deviceId, uint8_t** imageObj, uint32_t* imageWidth, uint32_t* imageHeight);
context
: ContextdeviceId
: Device IDimageObj
: Fingerprint image data pointerimageWidth
: Image's widthimageHeight
: Image's height
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.