pdfannots icon indicating copy to clipboard operation
pdfannots copied to clipboard

Feature Request: Differentiate Extracted Highlights by color

Open chrisgrieser opened this issue 3 years ago • 2 comments

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?

chrisgrieser avatar Sep 09 '21 12:09 chrisgrieser

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.

0xabu avatar Sep 09 '21 14:09 0xabu

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

chrisgrieser avatar Sep 09 '21 14:09 chrisgrieser