Resize document pages that have different sizes and orientations #43
Unanswered
patdunlavey
asked this question in
Q&A
Replies: 1 comment
-
Did you try messing with auto-rotation?
Try NONE |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have pdf files originally created from scans of photographic slides. Some of the pages are in portrait orientation, some in landscape orientation. The page sizes need to be increased from their original while keeping their original orientations
*
. I can use the--resize <paper>
option, however it automatically rotates pages to best-fit the<paper>
, and leaves them rotated in the output.I also have cases where I need to resize oversized pages down, while leaving other pages unchanged.
Is there a way to resize pages of a pdf using pdfScale, maybe to a percentage of their original size, without having them automatically rotate? Is there a way to apply page resizing to individual pages, rather than the same value to all pages at once?
If not, can you recommend another tool?
*
Why? Because these pdf pages are utilized by cantaloupe, using the Apache PdfBoxProcessor to convert them to image files to serve over the web. PdfBoxProcessor bases its rasterization on the page size in the pdf. Since these slides have very small page sizes (in the range of 1 inch), even high resolution slide scans (scanned at 3,000 dpi and up) end up being rendered with pixel dimensions on the order of 150 x 100.Beta Was this translation helpful? Give feedback.
All reactions