I have one php page that is generate image using Imagick, page include following code:
$image = new Imagick();
//fill image
$tmp = 'data:image/jpeg;base64,'.base64_encode($image->getimageblob());
//echo '<img src="' . $tmp . '" />';
echo $tmp;
if I will use echo image in php, it will show image. But my idea is print image body and show it in html.
In html page I have code like:
<img src="getImage2d.php?uuid=6bf26d4b-4da7-40cd-8cae-9d3538a2d004&width=1000&height=600" width=75% height=75%>
This parameter in url it is just for image configuration. As result I have empty image. Do you have any idea how to fix it?