Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatically flatten pdfs #133

Open
tobiasnteireho opened this issue Aug 3, 2023 · 1 comment
Open

automatically flatten pdfs #133

tobiasnteireho opened this issue Aug 3, 2023 · 1 comment

Comments

@tobiasnteireho
Copy link
Collaborator

automatically flatten pdfs to avoid issues with loading. This may be done with a command line tool like unoconv or ghostscript

@tobiasnteireho
Copy link
Collaborator Author

tobiasnteireho commented Dec 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant