-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: Convert color space before saving #1802
Conversation
The PDF contained an image in PA mode: * P: 8-bit pixels, mapped to any other mode using a color palette * PA: P with alpha See #1801
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1802 +/- ##
=======================================
Coverage 93.38% 93.39%
=======================================
Files 34 34
Lines 6604 6612 +8
Branches 1300 1301 +1
=======================================
+ Hits 6167 6175 +8
Misses 285 285
Partials 152 152
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
is the PNG the best choice or should we use JPEG2000? |
@pubpub-zz I don't know where. But with my fix it looks good now :-) |
Maybe I should add some extracted images + make a visual diff 🤔 It's currently too easy to silently break something here |
Bug Fixes (BUG) - Convert color space before saving (#1802) Documentation (DOC) - PDF/A (#1807) - Use append instead of add_page - Document core mechanics of pypdf (#1783) [Full Changelog](3.8.0...3.8.1)
The PDF contained an image in PA mode:
See #1801