PHP TCPDF to base64 code example
Example: how to use base64 image in tcpdf
$img_base64_encoded = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA0gA...';
$img = '';
$pdf->writeHTML($img, true, false, true, false, '');
$img_base64_encoded = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA0gA...';
$img = '';
$pdf->writeHTML($img, true, false, true, false, '');