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

ENH: pdfly x2pdf --format #63

Open
Lucas-C opened this issue Oct 29, 2024 · 2 comments · May be fixed by #65
Open

ENH: pdfly x2pdf --format #63

Lucas-C opened this issue Oct 29, 2024 · 2 comments · May be fixed by #65
Assignees

Comments

@Lucas-C
Copy link
Member

Lucas-C commented Oct 29, 2024

The new --format parameter would allow for values like:

  • Letter
  • a4-portrait
  • A4-landscape
  • 210x297

All the pages in the output PDF would then have this format.
Images provided to pdfly x2pdf would then be fitted to the page.

[EDIT] More specifically, we would like to support all valid formats given as $commonNameForDimensions or $commonNameForDimensions-$orientation.

$orientation is optional, can be landscape or portrait, an defaults to portrait.

$commonNameForDimensions could be any Ax standard format: https://en.wikipedia.org/wiki/Paper_size#Overview_of_ISO_paper_sizes (with lowercase or uppercase first letter). It would be nice to also support Bx & Cx page formats.

Finally, Letter refers to the US Letter format: https://en.wikipedia.org/wiki/Letter_(paper_size)
We should also support Legal for US Legal: https://en.wikipedia.org/wiki/Paper_size#Loose_sizes

@mulla028
Copy link

Hello! I would like to implement this new parameter! Please assign me to this issue!

@Lucas-C
Copy link
Member Author

Lucas-C commented Oct 30, 2024

Hello! I would like to implement this new parameter! Please assign me to this issue!

Great!
Done 🙂

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

Successfully merging a pull request may close this issue.

2 participants