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
Thanks this is an amazing tool! Reading the documentation I am not sure I can do the following: Suppose I have a pdf with orginal paper size = W x H. Now I want to crop all possible white space but my output file should be still rescaled to have a paper size WxH
Is that possible?
The text was updated successfully, but these errors were encountered:
It isn't currently possible to rescale documents. It wouldn't be too hard to add and is on the list of possible enhancements to implement. The problem is that if you rescale tightly-cropped text and images (such as from cropping with the -p 0 option) to fit a preset size then the text and images can become weird and distorted unless the new page ratio matches the cropped page ratio. If the pages crop to different sizes then the distortion wouldn't even be consistent across the pages.
Probably the closest you can come with the current settings is to use the options
-p 0 -s -u -spr W:H
This crops the pages as much as possible without clipping text, forces them to all have the same size, ensures that each page is cropped by the same amount, and then adds the minimal margins to return the document to have the page ratio W/H like the original. Most PDF viewers can zoom the pages to fill the available page area. You could also try it without the -u option.
Thanks this is an amazing tool! Reading the documentation I am not sure I can do the following: Suppose I have a pdf with orginal paper size = W x H. Now I want to crop all possible white space but my output file should be still rescaled to have a paper size WxH
Is that possible?
The text was updated successfully, but these errors were encountered: