node-signpdf icon indicating copy to clipboard operation
node-signpdf copied to clipboard

Help in designing the signature box

Open gaurav-cointab opened this issue 4 years ago • 6 comments

Hi vbuch,

I have gone through a lot of your answers, and I have been able to go to the PR which was for pdfkit 0.11, and make the pdfkitAddPlaceholder work me, and finally the signature part also worked. Then I went through the answers and have made the changes so that the signature is visible in the page.

1If you could, also guide me to designing the signature box, so that we can finally use it. Currently I am getting a completely transparent box.

Can you please help me in this?

gaurav-cointab avatar Nov 07 '21 10:11 gaurav-cointab

Wow. Great. Now your head contains all the info I wish I had written somehwere in an FAQ format :-) The last bit you need is not actually part of this package's purpose. You just want to add a graphic. Since yo are using pdfkit, I would suggest you do something in this manner: http://pdfkit.org/docs/vector.html If you want raster: http://pdfkit.org/docs/images.html

vbuch avatar Nov 08 '21 12:11 vbuch

This issue has been automatically marked as stale because it has not had activity in the past 90 days. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 20 '22 10:02 stale[bot]

Hi vbuch,

Thanks for such a prompt reply, and sorry for being so late on checking back on this.

So the signature adding part, is basically done. Now what remains is the design, which is not a part of this lib. So to sum up what you are suggesting is that we create the box, like we want to, so designing the signature box, like we want to, and just make it visible at the same co-ordinates the signature is (using the images, vectors, and other stuff from pdfkit). The design will be visible, and the signature will be just overlayed on top of it... right?

In this case we control the box design. We can make so that it is similar to the box which is generally display in adobe for other PDF. Am I understanding it correctly?

gaurav-cointab avatar Feb 20 '22 17:02 gaurav-cointab

Yes @gaurav-cointab. You design the visual as you wish and put the signature's clickable area on top.

vbuch avatar Feb 21 '22 08:02 vbuch

Hi @vbuch Can share the sample code to create signature box with image&signature_info that can show the signature info by clicking it?

orlenkoo avatar Apr 14 '22 14:04 orlenkoo

If I draw a signature box, can I put an empty signature's clickable area on top so that the user can sign it in Adobe?

prdufresne avatar Jul 25 '22 18:07 prdufresne

This issue has been automatically marked as stale because it has not had activity in the past 90 days. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 23 '22 07:11 stale[bot]