Automate the editing of >2k PDFs

Dercio Hoffmann

Sometimes things don’t go to plan, especially when deploying to production on a Friday. In this case, a new system change incorrectly generated over 2000 invoices over the course of the weekend. Oops! I wrote a script to identify the incorrect invoices using OCR, edit each one as PDF in Photoshop, generate new text using Imagemagick, convert them back, then finally upload them to the backend. Around 10 files needed manual correction due to being edge cases.
Like this project
0

Posted Nov 25, 2022

Sometimes things don’t go to plan, especially when deploying to production on a Friday.

Likes

0

Views

26

Game Hosting as a Service
Game Hosting as a Service
Sorting 10K Images - Restore 10K Images - Image entry tool
Sorting 10K Images - Restore 10K Images - Image entry tool
A Discord integration to an online store.
A Discord integration to an online store.