This is a Mac OS Automator Quick Action to rasterize selected PDFs should you ever be faced with having to print, sign, and scan a physical document.
- ImageMagick needs to be installed, you can install via
brew install imagemagick
in the terminal. \System\Library\CoreServices\Finder.app
needs to be added underSystem Preferences -> Privacy & Security -> Full Disk Access
.
- Download
RasterizePDF.sh
and make sure it's executable by runningchmod +x RasterizePDF.sh
. - Open the Automator app and create a new "Quick Action"
- Set "Workflow receives current" to "PDF files" and "in" to "Finder". Adjust the Image if desired.
- Search for "Run Shell Script" and drag to the right.
- Set the "Pass input" option to "as arguments".
- Paste the following, adjusting the path to the script as required: `"/Users/MyUser/Path/To/RasterizePDF.sh" "$@"
- Save your work and profit!