[MERGE] forward port of branch 8.0 up to 18a0ba3

This commit is contained in:
Christophe Simonis
2015-04-17 15:23:43 +02:00
2 changed files with 21 additions and 1 deletions
+20
View File
@@ -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
+1 -1
View File
@@ -141,7 +141,7 @@ def image_save_for_web(image, fp=None, format=None):
image.save(img, **opt)
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
'big' image size: 1024x1024px.
:param size, encoding, filetype, avoid_if_small: refer to image_resize_image