mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
Added comment that getdata is legacy
This commit is contained in:
parent
9a36a51916
commit
ab7e07c54d
|
@ -719,10 +719,14 @@ def _write_frame_data(fp, im_frame, offset, params):
|
||||||
# To specify duration, add the time in milliseconds to getdata(),
|
# To specify duration, add the time in milliseconds to getdata(),
|
||||||
# e.g. getdata(im_frame, duration=1000)
|
# e.g. getdata(im_frame, duration=1000)
|
||||||
def getdata(im, offset=(0, 0), **params):
|
def getdata(im, offset=(0, 0), **params):
|
||||||
"""Return a list of strings representing this image.
|
"""
|
||||||
The first string is a local image header, the rest contains
|
Legacy Method
|
||||||
encoded image data."""
|
|
||||||
|
|
||||||
|
Return a list of strings representing this image.
|
||||||
|
The first string is a local image header, the rest contains
|
||||||
|
encoded image data.
|
||||||
|
|
||||||
|
"""
|
||||||
class Collector(object):
|
class Collector(object):
|
||||||
data = []
|
data = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user