diff options
Diffstat (limited to 'Redim/core.py')
| -rw-r--r-- | Redim/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Redim/core.py b/Redim/core.py index d180305..3b5a742 100644 --- a/Redim/core.py +++ b/Redim/core.py @@ -52,7 +52,7 @@ class Redim(): """Suppression de l'alpha (transparent) des photos""" img = img.convert("RGBA") if img.mode in ("RGBA", "LA"): - fond = image_new(img.mode[:-1], img.size, background) + fond = image_new(img.mode[:-1], img.size, tuple(background)) fond.paste(img, img.split()[-1]) img = fond img.convert("RGB") |
