maxpmaxp / pdfreader

Python API for PDF documents
MIT License
116 stars 27 forks source link

PDFViewer instances must have canvas iterators #31

Closed maxpmaxp closed 3 years ago

maxpmaxp commented 4 years ago

it would be more convenient to iterate pages like below:

for page_canvas in viewer:
    my_content = extract_my_content(page_canvas)

Iterator walks to the next page and renders it.