-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Labels
Description
Describe the bug (mandatory)
When applying page.apply_redactions()
memory error occured
To Reproduce (mandatory)
>>>import fitz
>>> doc=fitz.open('fail.pdf')
>>> imglist = doc.getPageImageList(0, True)
>>> page = doc[0]
>>> rect = page.getImageBbox(imglist[0])
>>> page.addRedactAnnot(rect)
'Redact' annotation on page 0 of fail.pdf
>>> page.apply_redactions()
Expected behavior (optional)
Apply redactions successfully
Screenshots (optional)
Your configuration (mandatory)
Ubuntu 18.04 LTS - Architecture: x86-64
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0]
linux
PyMuPDF 1.17.0
Installed via .whl file