Skip to content

Instantly share code, notes, and snippets.

@0xlitf
Created March 29, 2016 06:45
Show Gist options
  • Save 0xlitf/7e76d972d8d6c13c2708 to your computer and use it in GitHub Desktop.
Save 0xlitf/7e76d972d8d6c13c2708 to your computer and use it in GitHub Desktop.
buffer->QImage
if ((pBuf = m_fingerPrinter->CaptureOneImage(true)))
{
QPixmap pix1;
pix1.loadFromData(pBuf, 256 * 360 + 1078, "BMP");
emit fingerPrintCatched(pix1.toImage());
delete[]pBuf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment