You can also do a pure textual comparison. Extract the text of each page and compare them to each other.
On Thu, Jul 29, 2021 at 3:55 PM chitgoks <[email protected]> wrote: > i wish to ask if pdfbox can support this scenario. > > Say, pdf 1 page 4 > > pdf 2 is a copy of pdf 1 but with additional pages. user adds 3 pages to > it. so page 4 will be on page 7. > > is there a way to detect what page # (which is page 7) in pdf 2 based on > pdf 1's (page 4)? >

