For a given definition of easy
These are the important bits and don't need changed on Linux?
Code:
k2pdfopt -mode copy -dpi 300 -ocr t -ocrd p src.pdf -o temp1.pdf
k2pdfopt -mode copy -dpi 5 -bpc 1 -g 100 -cmax -100 -s- temp1.pdf -o temp2.pdf
del /q temp1.pdf
This needs changed
Code:
cpdf -draft temp2.pdf -o temp3.pdf
del /q temp2.pdf
cpdf -combine-pages src.pdf temp3.pdf -o src_searchable.pdf
del /q temp3.pdf
rm is used instead of
del
The cpdf combines pdfs. It's not on my Linux.
But the Linux tools I know sequentially merge PDFs.
I think even qpdf does append merges rather than layer merges?