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

add shading(type 1 to type 7) rendering/create support #388

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anyongjin
Copy link
Contributor

  1. add shading(type 1 to type 7) rendering/create support
  2. add unit test for shading 2,3,4
  3. optimize performance while image decoding, soft masking. 'from8bit' is about 10x faster, applyMask is 2x faster.
  4. fix conflicts

related issue 384

I've ’tested more than a dozen files and solved three bugs.
But there may be still some bugs and need more test.
So please merge this commit to a separate branch, and release it after full testing.

Thank you.

2. add unit test for shading 2,3,4
3. optimize performance while image decoding, soft masking. 'from8bit' is about 10x faster, `applyMask` is 2x faster.
4. fix conflicts
@TomRoush TomRoush added the type: enhancement Request to add/improve a feature label Mar 29, 2022
@TomRoush TomRoush linked an issue Jun 10, 2022 that may be closed by this pull request
@TomRoush TomRoush added this to the v2.0.24.0 milestone Jun 10, 2022
@TomRoush
Copy link
Owner

@anyongjin Wanted to give you an update on this PR. I've looked through everything you've written and it all looks great. I made some formatting changes and rebased to get it up to date with master. In comparing the rendering results of all the test PDFs, I did notice some regressions (and some bugs that were fixed). I'm going to work on debugging the issues and maybe split some of the changes into different PRs so they can be included in 2.0.24.0 even if all the changes aren't ready

@anyongjin
Copy link
Contributor Author

Thank you for your excellent work ! you are really amazing (๑•̀ㅂ•́)و✧

@TomRoush TomRoush removed this from the v2.0.24.0 milestone Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Request to add/improve a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support for PDShading waiting to merge
2 participants