|
|
@ -57,7 +57,7 @@ namespace AksWebBrowser.Devices |
|
|
|
status = LibClass.ParseIDCardPic(PHMsg, 1024, 3, FileName); |
|
|
|
status = LibClass.ParseIDCardPic(PHMsg, 1024, 3, FileName); |
|
|
|
if (status == 0) |
|
|
|
if (status == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
iDCardModel.ImageBase64 = Encoding.UTF8.GetString(FileName); |
|
|
|
iDCardModel.ImageBase64 = "data:image/jpg;base64," + Encoding.UTF8.GetString(FileName); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
byte[] sCHMsg = new byte[520]; |
|
|
|
byte[] sCHMsg = new byte[520]; |
|
|
|