You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tool can be almost used for the operation which I want to do.
What I want to do is to change the height of pages with a smaller height to the largest page height (of any page) in the pdf document, whilst keeping the aspect ratio of each page, so that all pages have an equal height. Thus only the pages with a smaller height need resizing. The new width of each resized page is determined by its preserved aspect ratio. Each page is resized together with its content.
The following operations would be helpful for that:
The info parameter gets an option to make a list of the dimensions of the pages in the pdf and a sorting of this list by the size of the height. Thus one can see all the individual page heights and take the largest value for the next step.
The resize parameter gets an optional wildcard in the custom page size field. For example: --resize 'custom mm * 297'
The asterisk is a wildcard and would signal the width to be whatever is needed to keep the aspect ratio when fitting the page to the specified height.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This tool can be almost used for the operation which I want to do.
What I want to do is to change the height of pages with a smaller height to the largest page height (of any page) in the pdf document, whilst keeping the aspect ratio of each page, so that all pages have an equal height. Thus only the pages with a smaller height need resizing. The new width of each resized page is determined by its preserved aspect ratio. Each page is resized together with its content.
The following operations would be helpful for that:
The info parameter gets an option to make a list of the dimensions of the pages in the pdf and a sorting of this list by the size of the height. Thus one can see all the individual page heights and take the largest value for the next step.
The resize parameter gets an optional wildcard in the custom page size field. For example:
--resize 'custom mm * 297'
The asterisk is a wildcard and would signal the width to be whatever is needed to keep the aspect ratio when fitting the page to the specified height.
Beta Was this translation helpful? Give feedback.
All reactions