BlackFuffey

Results 6 comments of BlackFuffey

@jamie-lemon Changing the import made no difference. Also, after this happens, it seems like every future use of MuPDF will throw a memory out of bound error until the app...

Another question: should i call `destroy()` on the given arguments inside rendering device functions?

Im not doing doc.destroy() or page.destroy() here because this is a single middleware inside a pdf processing pipeline and pages may be reused later. At the end there is a...

I may be wrong on this but doesn't MuPDF cache the fetched pages and other data unless destroyed or if it's no longer accessible?

Update: I moved the bound extraction logic to pymupdf, and now it works perfectly.