title: Adding signature or images into PDF using PHP and FPDF
body: <p>I'm doing a project in which I have to merge a signature image of the user on to a .pdf file. First I converted all the pages of the pdf file into series of images using Ghostscript and loaded all of them in a div. Then the user drops a signature by signing in a canvas and places it using the mouse pointer. I get the user's location using e.clientX and e.clientY which returns value in pixel coordinates. </p>
  
  <p>I took the coordinates, page number and the captured image from canvas and passed it to FPDF but it placed the image in a different location. Then I found that FDPF uses mm precision. How do i sort this out?</p>
  
  <p>Is there any other simpler way to accomplish my task? Solutions or Suggestions place.</p>