mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Last trailer comment has priority
This commit is contained in:
parent
9de4b72c97
commit
d919942f8e
Binary file not shown.
|
@ -259,7 +259,7 @@ class EpsImageFile(ImageFile.ImageFile):
|
|||
if k == "BoundingBox":
|
||||
if v == "(atend)":
|
||||
reading_trailer_comments = True
|
||||
elif not self._size:
|
||||
elif not self._size or reading_trailer_comments:
|
||||
try:
|
||||
# Note: The DSC spec says that BoundingBox
|
||||
# fields should be integers, but some drivers
|
||||
|
|
Loading…
Reference in New Issue
Block a user