PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________

At 12:36 PM +0000 9/24/03, atul garg wrote:
well, i read a pdf file, manipulate obj streams(thereby changing their length) and write back the whole thing to a pdf file..now i need to change the length and xref table entries, so that the new pdf file works fine..

Correct.


In this case, the easiest thing to do is simply throw away the linearization tables from the original when you write out the new - otherwise you'll have to also implement linearization.


specifically, whether calculate the object offsets while writing them in to new file and write the xref table from scratch..

Exactly!!!



Leonard -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax)

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html



Reply via email to