Is it possible to render a part of a page? E.g. divide large scaled pages into 9 parts or more. If so, do you know if there is a performance gain?
The content stream must be executed from start to end each time (its a "graphics program").
What exactly do you mean by "performance gain"? Do you want to execute in parallel?
I think it should be done in series and by performance gain i mean to speed up.
I really don't know what is happening behind the scenes in the rendering process. My guess is that operations already are divides pages into subpages. But somewhere on the rendering path BufferedImages are used. When images are large this process is slow. And maby it could be improved by dividing it into subparts. Again, I really don't know what is happening and I might sound naive here. If so i am sorry.
Well, there's no such thing as a page you can subdivide. This is a vector graphic language - the position of an instruction is independent of its "visible location" on a plane.
Yes, operations on BufferedImages can be slow. So this is a place where you can start to optimize. Your renderer can "filter" the images completely, create low res versions or render in another thread...
Ok, thank you for your answer. Best, Peter
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.