MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-580732.py

File recipe-580732.py

recipes/Python/580732_Access_PDF_annotations/recipe-580732.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# loop through annotations of a page, change their author,
2# make them 10% larger and save an image as PNG file
3import fitz
4doc = fitz.open("some.pdf") # open the PDF

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
openMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected