[MERGE] forward port of branch 7.0 up to 21d3be8
This commit is contained in:
commit
a939efdb3f
|
@ -102,7 +102,7 @@ def image_resize_image(base64_source, size=(1024, 1024), encoding='base64', file
|
|||
image.save(background_stream, filetype)
|
||||
return background_stream.getvalue().encode(encoding)
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue