mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-15 06:07:33 +03:00
Use consistent arguments for load_read
This commit is contained in:
parent
2fbd7dda83
commit
543b5a6741
|
@ -328,7 +328,7 @@ class ImageFile(Image.Image):
|
||||||
# pass
|
# pass
|
||||||
|
|
||||||
# may be defined for blocked formats (e.g. PNG)
|
# may be defined for blocked formats (e.g. PNG)
|
||||||
# def load_read(self, bytes):
|
# def load_read(self, read_bytes):
|
||||||
# pass
|
# pass
|
||||||
|
|
||||||
def _seek_check(self, frame):
|
def _seek_check(self, frame):
|
||||||
|
|
|
@ -103,7 +103,7 @@ class XpmImageFile(ImageFile.ImageFile):
|
||||||
|
|
||||||
self.tile = [("raw", (0, 0) + self.size, self.fp.tell(), ("P", 0, 1))]
|
self.tile = [("raw", (0, 0) + self.size, self.fp.tell(), ("P", 0, 1))]
|
||||||
|
|
||||||
def load_read(self, bytes):
|
def load_read(self, read_bytes):
|
||||||
#
|
#
|
||||||
# load all image data in one chunk
|
# load all image data in one chunk
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user