diff --git a/CPF_Cef/Devices/IDCard.cs b/CPF_Cef/Devices/IDCard.cs index c2ae26e..04ea872 100644 --- a/CPF_Cef/Devices/IDCard.cs +++ b/CPF_Cef/Devices/IDCard.cs @@ -57,7 +57,7 @@ namespace AksWebBrowser.Devices status = LibClass.ParseIDCardPic(PHMsg, 1024, 3, FileName); if (status == 0) { - iDCardModel.ImageBase64 = Encoding.UTF8.GetString(FileName); + iDCardModel.ImageBase64 = "data:image/jpg;base64," + Encoding.UTF8.GetString(FileName); } byte[] sCHMsg = new byte[520];