Hello,
What are the alternatives to pdftk? I need to rotate a pdf file.
Thank.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 ===========================================================================
qpdf and ImageMagick are among the suggestions on this page:
https://unix.stackexchange.com/questions/394065/command-line-how-do-you-rota...
On Mon, Apr 15, 2019 at 3:48 PM Patrick Dupre pdupre@gmx.com wrote:
Hello,
What are the alternatives to pdftk? I need to rotate a pdf file.
Thank.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 =========================================================================== _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
2019-04-15 21:48 GMT+02:00, Patrick Dupre pdupre@gmx.com:
Hello,
What are the alternatives to pdftk? I need to rotate a pdf file.
There's pdf90 (part of texlive-pdfjam) which, according to its man page, "rotates the pages of files in the Adobe Portable Document Format (PDF) through 90 degrees (anti-clockwise)".
I do a lot of work with PDFs at my job. ImageMagick is, by the assertion of its own developers, non-ideal for most PDF work because it is meant for Images and most PDFs have embedded text, postscript vectors, bookmarks, and all manner of metadata that you probably want to keep and/or keep lossless.
pdf-stapler is very close to being a proper replacement. https://github.com/hellerbarde/stapler
It does all the concatenating and rotating and retaining-of-data stuff that pdftk does.
It doesn't have a very robust system for dealing with bookmarks and other metadata.
I coasted with pdf-stapler for a while, until I needed to do some serious PDF editing, at which point I installed Snapcraft (on fedora!) and then installed pdftk as a snap. Works like a charm, highlly recommended. Here are notes on how the Snap install goes on fedora:
On Mon, 15 Apr 2019 14:15:57 -0700 Samuel Sieb samuel@sieb.net wrote:
On 4/15/19 12:48 PM, Patrick Dupre wrote:
What are the alternatives to pdftk? I need to rotate a pdf file.
I use pdfshuffler.
+1
d
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org