Skip to content

Question / Comment: How to view insertPDF progress #640

Closed
@sant527

Description

@sant527

I saw the code inside insertPDF in fitz.py it uses

_fitz.Document_insertPDF(self, docsrc, from_page, to_page, start_at, rotate, links, annots)

I have very large documents of 100,000 pages. I want to see somprogress if possible after inserting every 1000/5000 pages

How can i send some logging messages to the python code from _fitz.Document_insertPDF function after every 1000/5000 pages of insertion.

Anything i can change in the source code and then recompile it.

Else the option is keep inserting 5000 pages at a time by mentioning the start and and page

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions