Last trailer comment has priority

This commit is contained in:
Andrew Murray 2023-09-22 18:36:52 +10:00
parent 9de4b72c97
commit d919942f8e
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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