title: Convert HTML to image in php
body: <p>I have to create a PNG / JPEG image from PHP script .. Briefly</p>
  
  <p>The code will create a html table and will include an image in that page. I need to save this entire page as an image , save that image in my server and return the path of the image ( using webservice ).</p>
  
  <p>I can create image from imagejpg function pretty well . My problem is how to convert that HTML to image, Cant take a screen shot because the processes going on through web services . </p>
  
  <p>Please help me to convert HTML to image using php</p>
  
  <p>Thanks in advance</p>