No, that one I deserve
This commit is contained in:
parent
3b77165e92
commit
07bffbdc2c
|
@ -284,7 +284,7 @@ def _aseprite_render_cel(c, indexed=False, palette=None, newpalette=None):
|
|||
for c in palette.colors]
|
||||
if newpalette is not None:
|
||||
assert indexed and newpalette.chunk_type == 0x2019 # Palette
|
||||
newcolors = [(c["red"], c["blue"], c["green"], c["alpha"])
|
||||
newcolors = [(c["red"], c["green"], c["blue"], c["alpha"])
|
||||
for c in newpalette.colors]
|
||||
|
||||
img = Image.new("RGBA", (c.data['width'], c.data['height']))
|
||||
|
|
Loading…
Reference in New Issue