title: Add the image to canvas using html or php
body: <p>i try this for long time how can add the image to canvas in html or php only i got the image path i need to load the image to canvas in html or php,i don't need to add the image through jquery or javascript</p>
  
  <p>in html i try this.</p>
  
  <pre><code>&lt;canvas id="myCanvas" width="500" height="500" style="border:1px solid #000000;"&gt;
  &lt;img src="" alt="Resized Image" height="200px"     
  width="200px"&gt;&lt;/canvas&gt;
  </code></pre>