Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3
import
fitz
4
doc = fitz.open(
"some.pdf"
)
# open the PDF
Callers
nothing calls this directly
Calls
3
str
Function · 0.85
open
Method · 0.45
save
Method · 0.45
Tested by
no test coverage detected