How to convert img src to $pdf->ezImage
<p>I am trying to get the code </p>

<pre><code>&lt;img src="barcodegen.php?barcode=' . $order-&gt;products[$i]['model'] . '"&gt; 
</code></pre>

<p>converted to </p>

<pre><code>$pdf-&gt;ezImage 
</code></pre>

<p>by ezpdf, any help will be appreciated.</p>

<p>Sam</p>
