How to convert img src to $pdf->ezImage
===

I am trying to get the code <img src="barcodegen.php?barcode=' . $order->products[$i]['model'] . '"> converted to $pdf->ezImage by ezpdf, any help will be appreciated.

Sam