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);


  • [In] context : Context
  • [In] deviceId : Device ID
  • [Out] imageObj : Fingerprint image data pointer
  • [In] imageWidth : Image's width
  • [In] imageHeight : Image's height

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.