Hello,

I am trying to find a way to scale each of the pages in a pdf document.

Also see 
http://www.nabble.com/Scale-fop-created-pages-for-pdf-output-td21445071.html

I can make it work with

* A two step Apache FOP Œrendering¹
* Multvalent¹s impose command line tool

Both suffer some disadvantages and I¹d like to use PDFBox to implement the
scaling. 

(I assume this could become part of the command line utilities (if someone
would be interested))

But....I need some help to get started

On the mail thread listed higher, Jeremias suggests to use the FOP pdf
external image approach. As far as I understand that approach, this would
work like

* For each page in the original file
> * Make a pdf form and store that as an Xobject in the new pdf
> * Create a page in the new pdf with the scaled page size and populate the page
> with a single image pointing to the previously created Xobject

Not knowing too much about PDF in general and even less about PDFBox, can
someone please outline the things I would need to do (classes to use etc)

Many thanks indeed!

Peter

Reply via email to