ENH: pdfly x2pdf --format
@mulla028 is already working on this.
Since Oct 30, 2024.
- Dominant language
- Python
- Stars
- 571
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
The new --format parameter would allow for values like:
Lettera4-portraitA4-landscape210x297
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.