mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 14:05:20 +08:00
Add a comment about reading in order
This commit is contained in:
committed by
Stefan van der Walt
parent
d853b68f96
commit
9a126e7009
@@ -163,6 +163,7 @@ class MultiImage(object):
|
||||
|
||||
else:
|
||||
img = Image.open(self.filename)
|
||||
# GIFs must be read *in order*
|
||||
for i in range(framenum + 1):
|
||||
img.seek(i)
|
||||
ret = np.asarray(img, dtype=self._dtype)
|
||||
|
||||
Reference in New Issue
Block a user