3

I'm trying to find a solution to split PDFs I'm receiving in my email in order to start OCR (invoices). The script is working well but only for 1-2pages document, so I tried to figure out how to manage multiple pages PDFs and decided to looking for a code to split big PDF into multiple PDF with one page...

I get this topic : Merge Multiple PDF's into one PDF And tried something based on this script : link @pokyCoder (line 484)

Results are pretty good but the script is not working on landscape PDF with multiple pages. The script make every slide to portrait, and those are uncomplete to read then.

How could I get the script to work with landscape? Or at least, how can I detect the layout orientation before the autostart?

Any help appreciated :)

Waxim Corp
  • 165
  • 10

1 Answers1

0

I decided to do another way due to multiple version of PDF decoding/encoding and complexity to have uniform results...

I'm still using OCR, but not on very large document. And the result is handling by a buffer to avoid too big results at once

Waxim Corp
  • 165
  • 10