Skip to content

Question: Does document.scrub allow setting images options #697

@juviwhale

Description

@juviwhale

The page.apply_redactions has a argument for how to redact overlapping images:

images (int) – (new in v1.18.0) how to redact overlapping images. The default (2) blanks out overlapping pixels. PDF_REDACT_IMAGE_NONE (0) ignores, and PDF_REDACT_IMAGE_REMOVE (1) completely removes all overlapping images.

This should also be an optional argument of document.scrub method correct? or do I have a misunderstanding of the intention? It seems it would be appropriate and relevant on that method as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions