Using Okular to sign documents with handwritten signatures

Howdy folks! I thought I’d share a tip I just wrote about how you can use Okular to insert a handwritten signature into a document, if you happen to live in a part of the world that doesn’t yet use digital signatures and handwritten signatures are valid and required.

16 Likes

Thank you for the tip.
Is there any way to keep aspect ratio of the signature box while drawing?

1 Like

At the moment, no, that hasn’t been implemented. I think it’s a good idea though.

Click to start drawing the box, then hold down CTRL + SHIFT and the proportions of the box stay locked as you drag the mouse about.

Release the mouse button before releasing the keys.

1 Like

Oh wow I didn’t know that! Maybe I’ll submit a patch to make it scale proportionally by default.

2 Likes

I’ve actually done this quite a bit when scanning and signing tenancy docs a while back. It’s super handy when you want that handwritten look without printing anything. One thing I noticed though is sometimes the quality of the signature image gets fuzzy if you resize it too much, so I usually try to sign on a tablet first and then use that saved image directly.

Great tutorial, I didn’t think it was this easy.

Additionally, if you are signing something with a not fully white background, you can try removing the background with rembg.
Command-line tool, but very easy to use:
rembg i path/to/input.png path/to/output.png

1 Like

For me it stays square, which doesn’t help if the stamp is not 1:1.