-
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: Inverse color in CMYK images #1947
Conversation
closes py-pdf#1895 CMYK image without decode requires reverting scale (cf p243,2§ last sentence in PDF 1.7 spec)
oO ... did I mess something up with the AES support PR? |
this is a new test file which is encrypted. I've added some code to bypass the test if cryptodome is missing |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1947 +/- ##
=======================================
Coverage 93.92% 93.93%
=======================================
Files 33 33
Lines 6983 6993 +10
Branches 1382 1386 +4
=======================================
+ Hits 6559 6569 +10
Misses 273 273
Partials 151 151
☔ View full report in Codecov by Sentry. |
@MartinThoma |
Nice!
|
Bug Fixes (BUG): - Prevent updating page contents after merging page (stamping/watermarking) (#1952) - % to be hex encoded in names (#1958) - Inverse color in CMYK images (#1947) - Dates conversion not working with Z00\'00\' (#1946) - Support UTF-16-LE Strings (#1884) [Full Changelog](3.12.0...3.12.1)
Bug Fixes (BUG): - Prevent updating page contents after merging page (stamping/watermarking) (#1952) - % to be hex encoded in names (#1958) - Inverse color in CMYK images (#1947) - Dates conversion not working with Z00\'00\' (#1946) - Support UTF-16-LE Strings (#1884) [Full Changelog](3.12.0...3.12.1)
closes #1895
CMYK image without decode requires reverting scale (cf p243,2§ last sentence in PDF 1.7 spec)