pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFBox 2.0
Date Mon, 02 Mar 2015 22:29:18 GMT
Am 02.03.2015 um 22:49 schrieb Eric Douglas:
> Hi, I hope this is to the right place, my first time using this list.
> I'm working with a 2.0 maven trunk I found and I have a couple issues.
> I can't seem to find this class which is in some online javadocs
> referencing pdfbox 1.8:
>     - org.apache.pdfbox.pdfviewer.PDFPagePanel


> Now, I'm trying to use pdfbox on a server to get pdf pages, then serialize
> one page at a time to render on a client.  What's the best way to do this?

none at all. You can't cut a PDF like a salami. There is the PDFSplit 
application, but the size of all pages will be larger than the size of 
the original PDF, because of common objects.


> I'm trying to avoid serializing the entire document since the load time is
> much faster doing single pages, but PDPage is not serializable.
>   org.apache.pdfbox.rendering.PDFRenderer accepts the document on the
> constructor but doesn't seem to need it to render a single page, other than
> to get the page from it in renderPageToGraphics which could easily add an
> overload to just accept the PDPage object.

To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message