use .size instead of ._size

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Yay295 2024-10-01 09:33:33 -05:00 committed by GitHub
parent 782f0e8a5a
commit c0d04e8b34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -370,7 +370,7 @@ class EpsImageFile(ImageFile.ImageFile):
)
self.tile = [
ImageFile._Tile("eps", (0, 0) + self._size, offset, (length, bounding_box))
ImageFile._Tile("eps", (0, 0) + self.size, offset, (length, bounding_box))
]
def _find_offset(self, fp: IO[bytes]) -> tuple[int, int]: