当blob试图在浏览器上显示图像时,我将图像保存在sql服务器中。下面是blob的性质;
0x02457D5BECBC0754535DBB2EBA92D0A51B94DE4B40C150A5137AEF4D1191261010A44B110
我尝试了以下解决方案;
SomeLargeType* var = [&]() {
if (cond) // some non-trivial condition
return new SomeLargeType(123);
else if (cond2 || !cond3)
return new SomeLargeType(3.14);
else
return nullptr;
}();
也尝试过
$imgDes = $row["Picture"];
file_put_contents('C:/Users/.../Desktop/img/',$imgDes);
他们都没有工作。
想知道如何在浏览器上显示blob