[
https://issues.apache.org/jira/browse/PDFBOX-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056287#comment-17056287
]
Tilman Hausherr commented on PDFBOX-4797:
-----------------------------------------
There is no easy solution. You would have to remove the rectangle fills, i.e.
inspect the content streams, and remove all fill operations and replace them
with a dummy command. There may be new unwanted effects, you would no longer
see differences between fills.
If the real purpose was to show difference between two files, then have a look
at TestPDFToImage in our source code and our usage of it, e.g. in
AppearanceGenerationTest.java. It renders pages and then compares them.
> Overlayed PDF file do not shows the difference
> -----------------------------------------------
>
> Key: PDFBOX-4797
> URL: https://issues.apache.org/jira/browse/PDFBOX-4797
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.19
> Environment: Java Maven
> Reporter: Andrei Toropov
> Priority: Major
> Attachments: 10.pdf, 114.pdf, 1583843507134004.overlay.PDF,
> 2020-03-10_10-34-56.png, screenshot-1.png, screenshot-2.png
>
>
> There are two differences in this two files, in the table on last page and in
> the table on the previous page the second row, column "% since inception" has
> values 11.74 in one pdf and 11.75 in another one. The textual html diff picks
> up and shows both cases. However, visual overlay shows this on page 5, but
> doesn't show on page 6.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]