Skip to content

Segmentation fault 11 for addRedactAnnot and apply_redactionsΒ #866

@malizheng

Description

@malizheng

import fitz
cur_pdf = fitz.open("C_2010638-2.pdf")
r=fitz.Rect([76.10399627685547, 239.55531311035156, 543.1917114257812, 254.18092346191406])
for cur_page in cur_pdf:
cur_page.addRedactAnnot(r,fill=(1, 1, 1))
cur_page.apply_redactions()
cur_pdf.save("C_2010638-1.pdf",garbage=4, clean=1,deflate=True)

There is an error: Segmentation fault.

C_2010638-2.pdf

Metadata

Metadata

Assignees

Labels

postponepostpone to a future versionupstream bugbug outside this package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions