-
Notifications
You must be signed in to change notification settings - Fork 510
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
Image in pdf changes color after applying redactions #2093
Comments
The problem here is that your page is fully covered by two images. |
@JorjMcKie , Thank you for your response. As I mentioned in the description, As I understand, if we set images=0 |
Got you now. |
Sure. You can use my pdf file to file a bug with mupdf. |
@ot-ksrinivasan - May I use your example file and submit it to MuPDF's bug system? |
@JorjMcKie Sure |
Recorded under this issue number. |
The underlying MuPDF bug has been fixed: https://bugs.ghostscript.com/show_bug.cgi?id=706114 |
… applying redactions".
Description
Image in a PDF file changes color after applying redactions.
To Reproduce
Execute the following python script to reproduce the issue. The script uses this pdf file image_issue.pdf .
Note that I am using the default images=2 (blank out overlapping image parts) when calling apply_redactions(). Using images= 0 (ignore) or images=1(remove complete overlapping image) are not desirable for my use case.
Expected behavior
The color of the image in the pdf file should not change after applying redactions.
Screenshots
Here's a screenshot of the problem.
Your configuration
The text was updated successfully, but these errors were encountered: