How to display image in pdf ? PHP code

This is the example php code for display the image in pdf

$X = $pdf->GetX();
$Y = $pdf->GetY();

$filename = "/path/test.jpg";
if (file_exists($filename)){
$pdf->Image($filename, $X, $Y, 10, 10,'JPG');
				}

Leave a Reply

Your email address will not be published. Required fields are marked *