Open tobiasnteireho opened 1 year ago
automatically flatten pdfs to avoid issues with loading. This may be done with a command line tool like unoconv or ghostscript
From this https://unix.stackexchange.com/questions/162922/is-there-a-way-to-flatten-a-pdf-image-from-the-command-line
This looks like the most promising though is not the top answer
gs -dSAFER -dBATCH -dNOPAUSE -dNOCACHE -sDEVICE=pdfwrite \ -dPreserveAnnots=false \ -sOutputFile=document_flat.pdf document_original.pdf
automatically flatten pdfs to avoid issues with loading. This may be done with a command line tool like unoconv or ghostscript