mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-02 15:03:42 +03:00
Trailer is not in header, ImageData or itself
This commit is contained in:
parent
094f23dd5c
commit
9de4b72c97
|
@ -373,8 +373,7 @@ class EpsImageFile(ImageFile.ImageFile):
|
||||||
|
|
||||||
s = str(bytes_mv[:bytes_read], "latin-1")
|
s = str(bytes_mv[:bytes_read], "latin-1")
|
||||||
_read_comment(s)
|
_read_comment(s)
|
||||||
|
elif bytes_mv[:9] == b"%%Trailer":
|
||||||
if bytes_mv[:9] == b"%%Trailer":
|
|
||||||
trailer_reached = True
|
trailer_reached = True
|
||||||
bytes_read = 0
|
bytes_read = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user