No, that one I deserve

This commit is contained in:
Lephenixnoir 2022-05-31 20:42:59 +01:00
parent 3b77165e92
commit 07bffbdc2c
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -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']))