Adding current date to a signature image and adding it into an existing pdf

本秂侑毒 提交于 2019-12-25 00:33:54

问题


I have a signature image and want to add first the current date before it (on the left side) and then add this signature with date together to an existing pdf. The existing pdf is an application form with an area for the signature and date.

What I have done so far is:

magick \( -size 450x -gravity west -font NimbusSans-Regular label:23.10.2019 \) signature.png +append -strip -quality 100 signaturewithdate.png

^This adds the current date before the signature, works.

Afterwards I convert the signature image with date to a "layer pdf" and put the signature image with date to the right position:

magick signaturewithdate.png -resize 400x25 -transparent white -page A4+330+180 stamp.pdf

Afterwards I use pdftk to join the original application form pdf and the signature with date pdf:

pdftk original.pdf stamp stamp.pdf output final.pdf

My problem is now, that the signature with date in the pdf is not sharp enough, its losing the sharpness. How I can make the signature with date sharp?

You find the original pdf here: https://gofile.io/?c=COkXUr

来源:https://stackoverflow.com/questions/58513753/adding-current-date-to-a-signature-image-and-adding-it-into-an-existing-pdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!