New Forum | Previous | Next | (P-PDF) What's Wrong with my PDF?
Topic: Incremental update on PDF 1.5 xref stream?
Conf: (P-PDF) What's Wrong with my PDF?, Msg: 163699
Date: 12/12/2007 12:51 PM
I am writing an application to update meta information in PDF images. It is working fine except for PDF files that use cross-reference streams entirely.
Here is my latest attempt at updating such a file, but something is wrong because the file is not readable by my PDF readers (sorry for the size of the PDF, but it's my only sample with an xref stream -- the incremental update part is attached below for convenience):
Does anyone know what I am doing wrong? I can't find any examples of increment updates on cross-reference stream PDF's.
Any help would be appreciated.
%-------- ExifTool incremental update --------
109198 0 obj
/Title (PDF Reference, version 1.6)
/Creator (FrameMaker 7.0)
/Subject (Adobe Portable Document Format \(PDF\))
/Producer (Acrobat Distiller 6.0.1 for Macintosh)
0000000000 65535 f
0009142155 00000 n
0000015477 00000 n
/Root 109200 0 R
/ID [ <0b1f990718e2a92c0c112fbf08b233fb> ]
/Info 109198 0 R
P.S. I had originally used "/Prev 116" instead of "/XRefStm 116" the trailer dictionary to point to the previous xref stream, but this didn't work either. Also, I have tried defining more or less objects in my xref table (I even tried setting all other objects to free), but that didn't work either.