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

BUG: Byte math errors for decoding bitmap PNGs #1067

Merged
merged 9 commits into from
Jul 9, 2022
Merged

Conversation

MartinThoma
Copy link
Member

Closes #535
Closes #536

Co-authored-by: Christopher Egner [email protected]

@codecov
Copy link

codecov bot commented Jul 7, 2022

Codecov Report

Merging #1067 (408bff5) into main (f4f74c7) will decrease coverage by 0.10%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##             main    #1067      +/-   ##
==========================================
- Coverage   91.04%   90.93%   -0.11%     
==========================================
  Files          24       24              
  Lines        4510     4524      +14     
  Branches      922      927       +5     
==========================================
+ Hits         4106     4114       +8     
- Misses        264      268       +4     
- Partials      140      142       +2     
Impacted Files Coverage Δ
PyPDF2/filters.py 84.73% <72.72%> (-1.26%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f4f74c7...408bff5. Read the comment docs.

@MartinThoma MartinThoma merged commit f776f54 into main Jul 9, 2022
@MartinThoma MartinThoma deleted the bits-per-component branch July 9, 2022 09:28
MartinThoma added a commit that referenced this pull request Jul 10, 2022
New Features (ENH):
-  Add PageObject._get_fonts (#1083)
-  Add support for indexed color spaces / BitsPerComponent for decoding PNGs (#1067)

Performance Improvements (PI):
-  Use iterative DFS in PdfWriter._sweep_indirect_references (#1072)

Bug Fixes (BUG):
-  Let Page.scale also scale the crop-/trim-/bleed-/artbox (#1066)
-  Column default for CCITTFaxDecode (#1079)

Robustness (ROB):
-  Guard against None-value in _get_outlines (#1060)

Documentation (DOC):
-  Stamps and watermarks (#1082)
-  OCR vs PDF text extraction (#1081)
-  Python Version support
-  Formatting of CHANGELOG

Developer Experience (DEV):
-  Cache downloaded files (#1070)
-  Speed-up for CI (#1069)

Maintenance (MAINT):
-  Set page.rotate(angle: int) (#1092)
-  Issue #416 was fixed by #1015 (#1078)

Testing (TST):
-  Image extraction (#1080)
-  Image extraction (#1077)

Code Style (STY):
-  Apply black
-  Typo in Changelog

Full Changelog: 2.4.2...2.4.3
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

Successfully merging this pull request may close these issues.

Bitmap PNGs are not decoded
1 participant