mgmeyers / pdfannots2json

GNU Affero General Public License v3.0
45 stars 6 forks source link

7 digit hex colour values #15

Open Ji11ard opened 1 year ago

Ji11ard commented 1 year ago

This might be an issue with my PDF annotator rather than the pdfannots2json extractor... but I occasionally get a 7 digit hex colour code assigned to my highlights.

For example the colour I'm applying (using Highlights App on Mac/iPad) is something like "#F5BE79"... which gets coded correctly by pdfannots2json as "Orange", but then the assigned color for the highlight is "#10abb73".

Not sure if you've seen this issue before? I wonder if I'm somehow getting R G or B values over 255.