Add image and not text

76 views
Skip to first unread message

olivier goetz

unread,
Feb 8, 2022, 3:12:37 PM2/8/22
to JSignPdf
Hello, I am using JsignPDF by command line but I would just like to add a signature image and not text. Is it possible ?
Thanks

Josef Cacek

unread,
Feb 8, 2022, 3:58:52 PM2/8/22
to JSignPdf forum
Hi Olivier,
you can use the background image and empty l2-text for that purpose.
So the command could loook like this one:

./jsignpdf.sh -kst PKCS12 -ksf keystore.p12 -ksp 123456
--visible-signature --bg-path sigimage.jpg --bg-scale -1 --l2-text ""
-llx 0 -lly 0 -urx 100 -ury 100 document.pdf

I just realized, there is a missing-quotes issue in the script, so to
work properly, you should fix the script in your installation folder
in the same way as in this commit:
https://github.com/intoolswetrust/jsignpdf/commit/b3c648e368a23731f8b0ed15a4d326a2a5fb094e

I hope it helps,
-- Josef


út 8. 2. 2022 v 21:12 odesílatel olivier goetz <exark...@gmail.com> napsal:
>
> Hello, I am using JsignPDF by command line but I would just like to add a signature image and not text. Is it possible ?
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "JSignPdf" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jsignpdf+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jsignpdf/c7383edd-72c3-4fa6-8f1b-8656f53b65edn%40googlegroups.com.

olivier goetz

unread,
Feb 9, 2022, 2:40:42 PM2/9/22
to JSignPdf
Thank you for your reply. I test as soon as possible
Reply all
Reply to author
Forward
0 new messages