summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-05-23 16:24:46 +0000
committerSébastien Theys <seb@odoo.com>2019-05-24 12:23:09 +0000
commitf58668ccb523bdc5df1d595681d9f8bd142622e3 (patch)
treee0e522e293ac09375b0dffe8dd1eec2c5fa27e92 /addons/web/static/tests/fields/basic_fields_tests.js
parent84130174df8fbe9b26d2ee96d3c178ae5d485c94 (diff)
[FIX] tools: fix image processing of palette PNG with alpha channel
Since b0ff033d695ed7da2ae5c6c08735ed09da70324e To reproduce this issue: give to the processing method a PNG with transparency and which is already encoded in palette mode. In 12.0 such image could be `addons/payment/static/img/codensa_easy_credit.png`. In earlier versions of Pillow, adding an alpha channel to such image would have no effect, but since version 6.0.0 they raise an exception when that happens. The PNG spec forbids the use of a full alpha channel with palette-based images according to http://www.libpng.org/pub/png/book/chapter08.html#png.ch08.div.5.2 task-1998639 closes odoo/odoo#33628 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions