----- original Nachricht -------- Betreff: maximum document size Gesendet: So 19 Mär 2006 05:38:24 CET Von: "Paul Tremblay"<[EMAIL PROTECTED]>
> About a week ago I posted an email asking if FOP could handle a > document (acually a thesis) of about 80 pages with a toc and a table > containing 100 images at the end. See the answer of the previous mail *g* or read below > But what would be the size limitations for FOP? I'm not trying to be > unreasonable. I think such a large document is insane, but then again, > it does represent a real-life situaion. The graphics are so large > because they were scanned in from older pictures. I suppose that if > FOP handled just one page at a time (wrote it to disc somehow), it > wouldn't matter how large the document was. Size doesn't matter, like it never does, it depends on the complexity (or technique) all parts play together. Let's assume, that you render 450MBytes of PNG graphics to a single PDF, each representing a full page, nothing more, no header, no footer, no additional text and not even a single cross link. This document «may» be written as a single stream, one image after the other. Now change this to a document referencing the images in a TOC at the top of the document. This TOC must contain an entry for every image, so FOP must «have a look» at all images, that it knows where they'll be, on wich page. Therefore it has to save them somewhere, to avoid repeatedly loading them from disk. The first example doesn't need a large cache, just one image per page. The second example needs a cache for ALL images. Now if you take a more complex document into consideration, it's not possible to say, that this won't render (never, not even after a billion years) or this is going to produce a document (at least until our sun is not far from becoming a red giant ball, 3.5 billion years, a squillion tera clicks until then). Take the document, create a XSL-FO, call FOP and reply on the list. We're all interested in the results, to be seriously honest... "Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken" www.klarmobil.de/index.html?pid=73025 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
