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 test cases for FlateDecode post-decode prediction #44

Closed
gunnsth opened this issue Jan 14, 2019 · 2 comments
Closed

Add test cases for FlateDecode post-decode prediction #44

gunnsth opened this issue Jan 14, 2019 · 2 comments

Comments

@gunnsth
Copy link
Contributor

gunnsth commented Jan 14, 2019

Should test:

  1. TIFF encoding prediction
  2. PNG prediction
  • None, Sub, Up, Average, Paeth, Combination

Include cases with 1,3,4 color components.

Can assume BitsPerComponent = 8 for now. Support for more BPC will be included in a separate ticket which will include making tests.

@gunnsth
Copy link
Contributor Author

gunnsth commented Jan 16, 2019

Tests for PNG prediction part of #320
Would be good to test cases with overflow too
Still need tests for TIFF prediction

@gunnsth gunnsth transferred this issue from unidoc/unidoc May 24, 2019
@anovik
Copy link

anovik commented Dec 6, 2024

Currently both PNG and TIFF prediction tests are implemented, for TIFF see TestFlateTiffPredictor

@anovik anovik closed this as completed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants