Thank you, Marc. Is this using XrefTrailerResolver...do you happen to have any example code?
On Tue, Mar 16, 2021 at 9:53 AM Marc Kaufman <[email protected]> wrote: > > You can track back through the XREF chain to make sure the %%EOF you > found is correct. > > On 3/15/2021 1:40 PM, Tim Allison wrote: > > All, > > > > Is there an easy-ish/programmatic way to extract earlier versions of > > a PDF in PDFBox if there are incremental updates. I found [1], and > > that's easy enough, but I worry about %%EOF that might show up in > > uncompressed streams or comments. It looks like you actually have to > > do a full parse to make sure that %%EOF means (or meant) %%EOF. :D > > > > I'm happy enough with the simple version and attempting to parse the > > document as a worst-case scenario. > > > > Thank you. > > > > Best, > > > > Tim > > > > [1] > > https://stackoverflow.com/questions/49382535/how-to-revert-incremental-update-in-pdf-using-pdfbox > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

