Issue 10590

Title
cannot write mode RGBA as JPEG when setting an avatar with alphe channel
Priority
bug
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-07-20.12:44:47 by ced, last changed 1 month ago by roundup-bot.

Messages

New changeset f73282e20d6f by Cédric Krier in branch 'default':
Convert avatar image to RGB prior to saving as JPEG
https://hg.tryton.org/tryton-env/rev/f73282e20d6f
New changeset f26eae98a342 by Cédric Krier in branch 'default':
Convert avatar image to RGB prior to saving as JPEG
https://hg.tryton.org/trytond/rev/f26eae98a342
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-07-20.12:44:47

Pillow raise an OSError when we try to save as JPEG an image with alpha channel.
The solution is to convert the image to RGB prior to saving.

History
Date User Action Args
2021-08-06 09:10:44roundup-botsetmessages: + msg69180
2021-08-06 09:10:42roundup-botsetmessages: + msg69179
nosy: + roundup-bot
status: testing -> resolved
2021-07-21 15:20:30reviewbotsetmessages: + msg68975
2021-07-20 12:57:28reviewbotsetmessages: + msg68947
nosy: + reviewbot
2021-07-20 12:45:23cedsetkeyword: + review
reviews: 369321037
status: in-progress -> testing
2021-07-20 12:44:47cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)