Open Lucas-C opened 3 weeks ago
The new --format parameter would allow for values like:
--format
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.
pdfly x2pdf
[EDIT] More specifically, we would like to support all valid formats given as $commonNameForDimensions or $commonNameForDimensions-$orientation.
$commonNameForDimensions
$commonNameForDimensions-$orientation
$orientation is optional, can be landscape or portrait, an defaults to portrait.
$orientation
landscape
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.
Ax
Bx
Cx
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
US Letter
Legal
US Legal
Hello! I would like to implement this new parameter! Please assign me to this issue!
Great! Done 🙂
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 belandscape
orportrait
, an defaults toportrait
.$commonNameForDimensions
could be anyAx
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 supportBx
&Cx
page formats.Finally,
Letter
refers to theUS Letter
format: https://en.wikipedia.org/wiki/Letter_(paper_size) We should also supportLegal
forUS Legal
: https://en.wikipedia.org/wiki/Paper_size#Loose_sizes