summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-04-26 10:55:07 +0000
committerSébastien Theys <seb@odoo.com>2019-04-29 13:45:03 +0000
commitd303518841a2d51d787630d1292918d682b489c5 (patch)
treed76d43dd12e02deedc5d698d50e5d652005e2650 /addons/web/static/src/js/views/basic/basic_controller.js
parentb8dd1b2ac554715c833c88fbe53a3f2105e0f2c5 (diff)
[IMP] tools,base: remove image encoding parameter
The image tools were accepting an encoding parameter but it was never used. Indeed the given images are always encoded in base64. `image_colorize` was the only method not taking base64 directly, so it has been modified for consistency. This allows to change the code in partner to not base64 decode the image in some case just to be base64 encode it again after. `crop_image` and `limited_image_resize` have been slightly refactored to account for this change, but in this commit their behavior was kept. task-1958000 PR: #31811
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions