Skip to content
Discussion options

You must be logged in to vote

if i change get_pannots defintion to :

def get_pannots(p): res= [] for a in page.annots(): tmp=a.info if 'subject' in tmp: if "toto"==tmp['subject']: if (a.type[0]==mupdf.PDF_ANNOT_POLYGON ): #print("findPolyAnnotationsInPage",tmp['id']) res.insert(-1,a) return res

No errors ! !

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@PCarle
Comment options

Answer selected by PCarle
Comment options

You must be logged in to vote
2 replies
@PCarle
Comment options

@PCarle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants