Am 08.12.2015 um 08:40 schrieb Глеб Г.Г.:
Sorry about picture. here it's URL
http://www.biopdf.com/guide/digital-pdf-signatures/valid-visible-signature.png
I wanted to create an Adobe-like signature picture, not with custom
picture.
This isn't available at this time... The signature stuff is a rather
tricky part of code. First you'd need to know how to write to a content
stream, i.e. try to generate a PDF with ordinary text. If you know how
to do that, you'll have to look at PDVisibleSigBuilder and
PDVisibleSignDesigner. I could help along the way (and maybe improve our
code), but this is only if you have a lot of time. I've been active from
time to time to improve readability on that part of the code but there's
still a lot to do.
Another more simple way would be that you create an image that contains
the text. I.e. create a BufferedImage of ARGB type, get a graphics
object, and then write. I'll improve PDVisibleSignDesigner so that it
can accept a BufferedImage instead of just an input stream.
Tilman
2015-12-08 10:32 GMT+03:00 Tilman Hausherr <[email protected]>:
Am 08.12.2015 um 08:25 schrieb Глеб Г.Г.:
PDFBox 2.0.0 RC 2
How can I make visible signature look like this? I've heard it has to do
something with Acrobat's layers, but I have no idea how to do this with
pdfbox.
Your image didn't appear... please upload your screenshot somewhere. What
also (possibly) works is to have the image not as attachment, but inline.
If you want a transparent signature, create an ARGB PNG image, where the
non-signature part is transparent.
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]