diff options
| author | Xavier Morel <xmo@odoo.com> | 2020-10-15 12:44:38 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-10-15 15:25:47 +0000 |
| commit | 1b20c67915e200f34fb975c73b0a5ff6b1d50e58 (patch) | |
| tree | debb982f8175223ba0a80507ed6cc5593ce6aedf /addons/web/static | |
| parent | be1b2d4f4c6bd7c78cbc51e7fadeac51f38e9194 (diff) | |
[FIX] base: explicitly specify resampling filter when resizing
Pillow 7.0 changed the default resampling filter from NEAREST to
BICUBIC. Because the logo parser resizes the image before sampling it
and doesn't specify a filter, its behavior changes depending on the
version of Pillow, even if the input image is the same. And there's a
test depending on its output with a fixed image.
Explicitly specify the old default as that's what's in the test.
closes odoo/odoo#60117
X-original-commit: 3dbc0711b65ae47a230bcd8b3348962127bcaf14
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
