Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
juviwhale opened this issue Oct 21, 2020 · 2 comments
Closed

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

juviwhale opened this issue Oct 21, 2020 · 2 comments
Assignees
Labels

Comments

@juviwhale
Copy link

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.

@JorjMcKie
Copy link
Collaborator

good point - will look into this, for the moment I think you are right.

@JorjMcKie
Copy link
Collaborator

Contained in v1.18.2 which is currently being uploaded to PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants