Skip to content

ROB : fix image extraction#1327

Merged
MartinThoma merged 2 commits intopy-pdf:mainfrom
pubpub-zz:iss1090
Sep 6, 2022
Merged

ROB : fix image extraction#1327
MartinThoma merged 2 commits intopy-pdf:mainfrom
pubpub-zz:iss1090

Conversation

@pubpub-zz
Copy link
Copy Markdown
Collaborator

fix some images reading when some operations are inserted between EI and Q
end of image is now considered with [whitespace]EI[whitespace] (4 characters should be sufficient)
fixes #1090

fix some images reading when some operations are inserted between EI and Q
end of image is now considered with [whitespace]EI[whitespace] (4 characters should be sufficient)
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 5, 2022

Codecov Report

Merging #1327 (38c4e68) into main (4073b2a) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1327      +/-   ##
==========================================
- Coverage   94.85%   94.82%   -0.04%     
==========================================
  Files          30       30              
  Lines        5097     5097              
  Branches     1049     1049              
==========================================
- Hits         4835     4833       -2     
- Misses        153      154       +1     
- Partials      109      110       +1     
Impacted Files Coverage Δ
PyPDF2/generic/_data_structures.py 96.63% <100.00%> (-0.34%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MartinThoma
Copy link
Copy Markdown
Member

@pubpub-zz This PR makes #332 obsolete, right?

@MartinThoma MartinThoma merged commit 5049c1e into py-pdf:main Sep 6, 2022
@pubpub-zz
Copy link
Copy Markdown
Collaborator Author

@pubpub-zz This PR makes #332 obsolete, right?

Correct

MartinThoma added a commit that referenced this pull request Sep 9, 2022
Robustness (ROB):
-  Fix infinite loop due to Invalid object (#1331)
-  Fix image extraction issue with superfluous whitespaces (#1327)

Full Changelog: 2.10.5...2.10.6
@pubpub-zz pubpub-zz deleted the iss1090 branch June 24, 2023 08:39
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.

PdfReadError: Unexpected end of stream

2 participants