4

I like the idea of the site - http://lookslikescanned.com But sometimes it doesn't work as expected.

I'd like to automator script on my Mac, so I can right click on a pdf in finder click convert to scanned ... and the output is file that looks as scanned. Preferably in the same folder just with added text on the end of the name "scanned". Like so.

enter image description here

To make it like this

enter image description here

For this I use terminal and the program ImageMagick

and here is the command line.

convert test.pdf -colorspace gray \( +clone -blur 0x1 \) +swap -compose divide -composite -linear-stretch 5%x0% -rotate 0.5 test-scanned.pdf

My question is how can I transfer it to automator?

Note: the script works on images only. I'd like to use it on pdf

5
  • When you say "looks as scanned", you mean converted into a bitmap image, rotated slightly, blurred, with a black line down each side....? If you've got a command line tool or scriptable app that can achieve that result, then wrapping that inside an Automator workflow is easy; but the first part is the tricky bit.
    – benwiggy
    Apr 10, 2020 at 13:45
  • Yes. I have the first part. I posted it above. But the second is missing :D
    – Slavi
    Apr 11, 2020 at 9:56
  • So does your script work on PDFs or not?
    – benwiggy
    Apr 11, 2020 at 11:55
  • Only on images my friend
    – Slavi
    Apr 11, 2020 at 20:41
  • This online tool works with PDFs: supertool.org/make-a-pdf-look-printed-and-scanned
    – dca
    Sep 13, 2021 at 4:28

0

You must log in to answer this question.

Browse other questions tagged .