diff options
| author | Sébastien Theys <seb@odoo.com> | 2019-02-11 16:06:41 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2019-02-14 16:03:09 +0000 |
| commit | 413c63556f5c41b3c135fdcce0aa1adb177d9179 (patch) | |
| tree | 3bf81a2f377b168af3d3870fecd48ab6c0c352f0 /addons/web_editor/static/src/js/backend/convert_inline.js | |
| parent | 38843624d42c284a194a854c467190d69b4169ab (diff) | |
[IMP] tools,base,web: improve image tools
Add support for a 256*256 image, to be used in the following commit.
Define sizes in named variables instead of being hard-coded in several places in
the code.
Allow parameters `preserve_aspect_ratio` and `upper_limit` to be passed from
the different helper methods.
Factorize the code inside `image_resize_images` to make it easier to read.
Add new function to compute whether the size of an image is above a given size.
task-34045
PR: #30656
Diffstat (limited to 'addons/web_editor/static/src/js/backend/convert_inline.js')
0 files changed, 0 insertions, 0 deletions
