Skip to content

Conversation

@radarhere
Copy link
Member

EpsImagePlugin reads 160 characters from the file when finding the offset.

s = fp.read(160)

However, it only uses 4 or 12 characters.

@radarhere radarhere changed the title Only read when necessary in EPS Only read when necessary in EpsImagePlugin Jan 10, 2023
@hugovk hugovk merged commit c683f04 into python-pillow:main Jan 11, 2023
@radarhere radarhere deleted the eps branch January 11, 2023 21:30
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.

2 participants