Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to have the coordinates in the result pdf, near the diff blocks? #109

Open
ouxoux2 opened this issue Aug 18, 2021 · 1 comment

Comments

@ouxoux2
Copy link

ouxoux2 commented Aug 18, 2021

Hey, i think it will be realy helpfull to have the coordinates, near each block where there is a difference.
Thanks

@finsterwalder
Copy link
Collaborator

This sounds good in theory, but is very hard in practice.
PdfCompare only ever detects single pixels that differ. In the logs I output the coordinates of one rectangle that includes all pixels that differ on a page. If you want to have different blocks on a page with coordinates, you would first have to somehow detect, what is one block and what are multiple blocks. And then you need to think about the "layout" of coordinates, so that they show up nicely but don't cover interesting areas of the document.

Feel free to tackle that problem. I would support you.
But I will not work on something like this myself.

When you start the UI you can draw ignore areas and find the coordinates that way. That's the best that I can offer currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants