PSWritePDF
PSWritePDF copied to clipboard
Feature request: Merge to a fixed paper size
I'm trying to merge 2 or more PDF (A5 size) in to a new PDF (A4 size). I was wondering if it's possible to add a parameter that impose page size, for example: Merge-PDF -InputFile $src1, $src2 -OutputFile $destination -OutputPageSize A4
It makes sense but to achieve that:
- We need to create a function to resize any page to demanded value
- And maybe then add it as option to merge-pdf
Resources to use:
- https://stackoverflow.com/questions/56377322/how-to-scale-the-page-size-from-a3-to-a4-in-itext7-c
- https://kb.itextpdf.com/home/it7kb/examples/scaling-and-rotating-pages
- https://kb.itextpdf.com/home/it7kb/examples/changing-page-sizes-of-existing-pdfs