Leonard and Kevin, Much thanks for the response! A follow-on question if you don't mind: Admittedly, I haven't read the iText docs yet, but I did do a quick search through site that talk about the PDF spec and didn't find a reference to the term "basic catalog" is, "basic catalog" an iText API construct or is it defined by the PDF spec? Your answer will help me figure out where to go next to read docs. isailhobie
________________________________ From: Kevin Day [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 2:14 PM To: IText Questions Subject: Re: [iText-questions] Memory Usage: reading the 1st page of a PDF As a followup, linearized is only useful when you are reading the file contents over a slow connection. Most PDF files require quite a bit of random access reading, and linearizing helps to clump the reads together, and makes the cross reference table available in the first blocks of the file. - K ----------------------- Original Message ----------------------- From: Leonard Rosenthol <[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> To: Post all your questions about iText here <[email protected]> <mailto:[email protected]> Cc: Date: Tue, 25 Nov 2008 17:43:58 +0100 Subject: Re: [iText-questions] Memory Usage: reading the 1st page of a PDF You NEVER have to read more than the basic "catalog" into memory and then just the objects of the first page. iText doesn't display PDFs - so not sure what you mean here though... Leonard On Nov 25, 2008, at 3:54 PM, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote: > Our requirement is to display the first page of PDFs that are made > up of many, many pages. These PDFs are at various levels of > organization. Ideally we would not have to read the entire PDF into > memory as our site does very high volume. > > Question: Is there any format of PDF > (Optimized,Compressed,Linearized) that would FORCE itext to read the > whole document into memory before being able to pick out the first > page for display? (I am aware that linearized is optimized for just > this type of access, so I am mostly curious about other formats.) > > Regards, > isailhobie > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/__________________ _____________________________ <http://moblin-contest.org/redirect.php?banner_id=100&url=/_________________ ______________________________> > iText-questions mailing list > [email protected] <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/itext-questions <https://lists.sourceforge.net/lists/listinf o/itext-questions> > > Buy the iText book: http://www.1t3xt.com/docs/book.php <http://www.1t3xt.com/docs/book.php> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ <http://moblin-contest.org/redirect.php?banner_id=100&url=/> _______________________________________________ iText-questions mailing list [email protected] <mailto:[email protected]> https://lists.sourceforge.net/lists/listinfo/itext-questions <https://li sts.sourceforge.net/lists/listinfo/itext-questions> Buy the iText book: http://www.1t3xt.com/docs/book.php <http://www.1t3xt.com/docs/book.php> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
