Option to prevent all content rotation during resize
Author: cernyjakubCreated Sep 3, 2026Updated Sep 7, 2026
Labelsfeature request
In my scenario, I need to resize a bunch of documents for printing on A4. Documents may be in any format and orientation.
I need to fit documents on A4 portrait, but never rotate the content, so it is always read left-to-right.
I tried pdfcpu resize 'paper:A4P, enforce:on', but this allows landscape docs to rotate (and better utilise space on A4).
I propose adding option to prevent all content rotations during resize.
(originally discussed in #1471)
Source: pdfcpu/pdfcpu