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

Feature Request: Differentiate Extracted Highlights by color #39

Closed
chrisgrieser opened this issue Sep 9, 2021 · 2 comments · Fixed by #78
Closed

Feature Request: Differentiate Extracted Highlights by color #39

chrisgrieser opened this issue Sep 9, 2021 · 2 comments · Fixed by #78

Comments

@chrisgrieser
Copy link

It would be really great to differentiate multi-color highlights in a document. Is that possible on pdfannots' end, or is it rather something that has to be done on pdfminer.six' end?

@0xabu
Copy link
Owner

0xabu commented Sep 9, 2021

It's possible, I haven't had the reason to do it myself yet, but a PR to add such functionality would be welcome, especially the extraction part, i.e. getting the colour into the Annotation object in a useful form.

See #4 and #19 for some previous attempts at this. Now that the output formatting code is more clearly separated from the core, it may be viable to revisit some of this.

@chrisgrieser
Copy link
Author

I'd happily do it myself, but unfortunately, I do not know any python 🙁

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

Successfully merging a pull request may close this issue.

2 participants