how to display base64 encoded image in tcpdf code example
Example: how to use base64 image in tcpdf
$img_base64_encoded = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA0gA...';
$img = '<img src="@' . preg_replace('#^data:image/[^;]+;base64,#', '', $img_base64_encoded) . '">';
$pdf->writeHTML($img, true, false, true, false, '');