comparison sat/bridge/bridge_constructor/bridge_template.ini @ 3201:439e2f88c3a9

core, bridge: new `imageGeneratePreview` helped method to generate a thumbnail
author Goffi <goffi@goffi.org>
date Sun, 01 Mar 2020 18:48:06 +0100
parents 84a94b385760
children ae09989e9feb
comparison
equal deleted inserted replaced
3200:5c3bf37f2202 3201:439e2f88c3a9
970 doc_param_0=image_path: path of the image to resize 970 doc_param_0=image_path: path of the image to resize
971 doc_param_1=width: width of the new image 971 doc_param_1=width: width of the new image
972 doc_param_2=height: height of the new image 972 doc_param_2=height: height of the new image
973 doc_return=path of the new image with desired size 973 doc_return=path of the new image with desired size
974 the image must be deleted once not needed anymore 974 the image must be deleted once not needed anymore
975
976 [imageGeneratePreview]
977 async=
978 type=method
979 category=core
980 sig_in=ss
981 sig_out=s
982 doc=Generate a preview of an image in cache
983 doc_param_0=image_path: path of the original image
984 doc_param_1=%(doc_profile_key)s
985 doc_return=path to the preview in cache