mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
use .size instead of ._size
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
782f0e8a5a
commit
c0d04e8b34
|
@ -370,7 +370,7 @@ class EpsImageFile(ImageFile.ImageFile):
|
||||||
)
|
)
|
||||||
|
|
||||||
self.tile = [
|
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]:
|
def _find_offset(self, fp: IO[bytes]) -> tuple[int, int]:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user