0
How get fingerprint from sensor and show it in picturebox in c#?
I get a byte array from sensor but I can't displayed it in picturebox.
1 ответ
+ 2
Check this function, it's makes the array to a bitmap, wich can be used for the picturebox image atributte.
public static Bitmap ByteToImage(byte[] blob)
{
MemoryStream mStream = new MemoryStream();
byte[] pData = blob;
mStream.Write(pData, 0, Convert.ToInt32(pData.Length));
Bitmap bm = new Bitmap(mStream, false);
mStream.Dispose();
return bm;
}