4 ms·
Ha! My co-worker made one of these for the same reason. Some places still require "wet" signatures, and some people (us) like to stick it to bureaucracy and pro
by aclimatt 7y ago
Ha! My co-worker made one of these for the same reason. Some places still require "wet" signatures, and some people (us) like to stick it to bureaucracy and prove that they can't tell the difference.
For a one-liner, if you use any tool to generate a realistic version of your signature, or do what I do and actually scan a version of your signature once, and then have that as a PNG that you can drop on any PDF of your liking, here's a line to make it look nice and "scanned":
convert "$1" -alpha Off -density 150 -colorspace gray -blur 0.5x0.5 -rotate 0.4 -level 40%,60% "scanned-$1"
Or for even more noise and poor quality:
convert "$1" -colorspace gray \( +clone -blur 0x1 \) +swap -compose divide -composite -linear-stretch 5%x0% -rotate 1.5 scanned-$1.pdf
- tareqak 7y agoIs that an invocation of the `convert` tool from ImageMagick?
- aclimatt 7y agoYep, it just uses ImageMagick's `convert` to take the PDF, rotate it a little bit, blur the text, and generally reduce the quality just like a scan would. The OP also uses a few other flags like `+noise Gaussian` and `-attenuate 0.25` which you could toss in. Same concept, just wanted to share a one-liner you can use if you already have a PDF with a signature on it, and you need that nice "scanned" look.
- dror 7y agoOr just use Libreoffice and insert the image in the right place. Has worked for years.
- peteretep 7y agoThis is cool, although after playing with it and a bit and doing some Googling, I like: https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6acde2724 https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6ac...