ob_start();
header( "Content-type: image/png" );
imagepng($img,NULL,9);
imagedestroy($img);
$i = ob_get_clean();
echo "<img src='data:image/png;base64," . base64_encode( $i )."'>";
ob_start();
imagepng($img);
$output = ob_get_contents();
ob_end_clean();
echo "<img src='data:image/png;base64,".base64_encode($output)."'>";
Category Forum
Suspected Bugs and Errors - 8Labels
None yet
Statistics
1 participant
Notifications
You are not receiving notifications from this thread.
Related Questions