Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to change the pagesize of a particular page in a pdf #17

Open
sant527 opened this issue Nov 27, 2019 · 1 comment
Open

I want to change the pagesize of a particular page in a pdf #17

sant527 opened this issue Nov 27, 2019 · 1 comment
Labels

Comments

@sant527
Copy link

sant527 commented Nov 27, 2019

I have a pdf file with all pages of different page sizes.

I have attached the pdf file test2_cropped_cropped.pdf

Now in this file i want to change the page size of only the 2nd page and keep the remaining pages as they are.

How can we achieve this.

Ys
Simha Rupa DAs
test2_cropped_cropped.pdf

@sant527 sant527 changed the title I want to change the width of a particular page in a pdf I want to change the pagesize of a particular page in a pdf Nov 27, 2019
@abarker
Copy link
Owner

abarker commented Nov 27, 2019

Why did you create a new issue? This seems very similar to the last question you asked.

The pdfCropMargins program cannot change the relative scale of different pages, but you can make all the pages the same size and then crop as much as you are comfortable with cropping. That or just crop that one page with the pg option.

You could try the suggestions given in the previous issue, or just do a normal crop with the samePageSize and uniform options:

pdf-crop-margins -u -s test2_cropped_cropped.pdf

That looks OK to me. You could take more off the bottom, maybe, with

pdf-crop-margins -u -s -a4 0 60 0 0 test2_cropped_cropped.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants