0

In my current project I want to print some text on image and after editing it save/print that image using PHP or javascript or jquery. The image is blank cheque like here I attach.

I used the text box for write cheque details on a cheque, cheque details like input payee name, account no, amount, an amount in a word.

So, can you please help me for solving this query.

cheque details

Vikrant
  • 4,920
  • 17
  • 48
  • 72

1 Answers1

0

The easy way here to do is to take a kind-of screenshot of your cheque using javascript/jquery if the text overlayed like you have in the input boxes. (Maybe remove the box-borders to make it more realistic) Have a look this: Webpage screenshot and how-to-take-screenshot-of-a-div-with-javascript.

To do it using php, you'll need to use the imagettftest function. This link might help.

Community
  • 1
  • 1
gaganshera
  • 2,629
  • 1
  • 14
  • 21