Skip to content

ROB: Clarify CMYK comment and detect image format from Pillow instead of guessing#3902

Open
BiswasNehaa wants to merge 2 commits into
py-pdf:mainfrom
BiswasNehaa:fix-3869-image-xobject-comments
Open

ROB: Clarify CMYK comment and detect image format from Pillow instead of guessing#3902
BiswasNehaa wants to merge 2 commits into
py-pdf:mainfrom
BiswasNehaa:fix-3869-image-xobject-comments

Detect image format from Pillow instead of guessing from filter type

81c4851
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Jul 17, 2026 in 0s

97.84% (-0.02%) compared to efc511b

View this Pull Request on Codecov

97.84% (-0.02%) compared to efc511b

Details

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.84%. Comparing base (efc511b) to head (81c4851).

Files with missing lines Patch % Lines
pypdf/generic/_image_xobject.py 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3902      +/-   ##
==========================================
- Coverage   97.86%   97.84%   -0.02%     
==========================================
  Files          57       57              
  Lines       10738    10740       +2     
  Branches     2006     2006              
==========================================
  Hits        10509    10509              
- Misses        127      129       +2     
  Partials      102      102              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.