|
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]>
To: Post all your questions about iText here <[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] 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=""> > 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 ------------------------------------------------------------------------- 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 |
------------------------------------------------------------------------- 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
