mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
a break
This commit is contained in:
parent
dad5e86226
commit
12cea19280
|
@ -380,6 +380,7 @@ def getheader(im, palette=None, info=None):
|
|||
for newI in range(countUsedPaletteColors):
|
||||
if imageBytes[i] == usedPaletteColors[newI]:
|
||||
imageBytes[i] = newI
|
||||
break
|
||||
|
||||
im.frombytes(bytes(imageBytes))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user