[MERGE] forward port of branch 8.0 up to 18a0ba3
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
Spain, 2015-04-15
|
||||||
|
|
||||||
|
Anubía, soluciones en la nube,SL
|
||||||
|
agrees to the terms of the Odoo Corporate Contributor License Agreement v1.0.
|
||||||
|
|
||||||
|
I declare that I am authorized and able to make this agreement and sign this
|
||||||
|
declaration.
|
||||||
|
|
||||||
|
Signed,
|
||||||
|
|
||||||
|
Alejandro Santana alejandrosantana@anubia.es https://github.com/alejandrosantana
|
||||||
|
|
||||||
|
List of contributors:
|
||||||
|
|
||||||
|
Alejandro Santana alejandrosantana@anubia.es https://github.com/alejandrosantana
|
||||||
|
Juan Formoso Vasco jfv@anubia.es https://github.com/forvas
|
||||||
|
Jesús Cacabelos Reyes jrc@anubia.es https://github.com/chesucr
|
||||||
|
Eduardo Rodríguez Crespo erc@anubia.es https://github.com/erc-anubia
|
||||||
|
Jorge Soto García jsg@anubia.es https://github.com/sotogarcia
|
||||||
|
Daniel Lago Suárez dls@anubia.es https://github.com/dlsuarez
|
||||||
@@ -141,7 +141,7 @@ def image_save_for_web(image, fp=None, format=None):
|
|||||||
image.save(img, **opt)
|
image.save(img, **opt)
|
||||||
return img.getvalue()
|
return img.getvalue()
|
||||||
|
|
||||||
def image_resize_image_big(base64_source, size=(1204, 1024), encoding='base64', filetype=None, avoid_if_small=True):
|
def image_resize_image_big(base64_source, size=(1024, 1024), encoding='base64', filetype=None, avoid_if_small=True):
|
||||||
""" Wrapper on image_resize_image, to resize images larger than the standard
|
""" Wrapper on image_resize_image, to resize images larger than the standard
|
||||||
'big' image size: 1024x1024px.
|
'big' image size: 1024x1024px.
|
||||||
:param size, encoding, filetype, avoid_if_small: refer to image_resize_image
|
:param size, encoding, filetype, avoid_if_small: refer to image_resize_image
|
||||||
|
|||||||
Reference in New Issue
Block a user