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

there are some red rectangles on image #26

Open
lindping opened this issue Jan 7, 2025 · 2 comments
Open

there are some red rectangles on image #26

lindping opened this issue Jan 7, 2025 · 2 comments

Comments

@lindping
Copy link

lindping commented Jan 7, 2025

Page_1

@BobLd
Copy link
Owner

BobLd commented Jan 7, 2025

@lindping I try to find some time shortly to investigate that. I confirm I have the same red rectangles using the pdf you shared in UglyToad/PdfPig#970

@BobLd
Copy link
Owner

BobLd commented Jan 8, 2025

@lindping the root cause is that PdfPig and PdfPig.Rendering.Skia currently do not apply masks on images. I will need to makes some changes in PdfPig to get the relevant Mask data, and then process it in here.

I already have a working PoC, hopefully I can push the required changes over the weekend.

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

No branches or pull requests

2 participants