comparison sat/bridge/bridge_constructor/bridge_template.ini @ 3259:f300d78f08f3

core: image convertion + SVG support: /!\ new optional dependency: CairoSVG (with installed `[SVG]` extra) - new `convert` method in `tools.image` to save an image in an other format, with support for SVG (when CairoSVG is available) - new `imageConvert` method is available for frontends
author Goffi <goffi@goffi.org>
date Sun, 19 Apr 2020 16:53:44 +0200
parents 6cf4bd6972c2
children 524856bd7b19
comparison
equal deleted inserted replaced
3258:7aa01e262e05 3259:f300d78f08f3
1007 sig_out=s 1007 sig_out=s
1008 doc=Generate a preview of an image in cache 1008 doc=Generate a preview of an image in cache
1009 doc_param_0=image_path: path of the original image 1009 doc_param_0=image_path: path of the original image
1010 doc_param_1=%(doc_profile_key)s 1010 doc_param_1=%(doc_profile_key)s
1011 doc_return=path to the preview in cache 1011 doc_return=path to the preview in cache
1012
1013 [imageConvert]
1014 async=
1015 type=method
1016 category=core
1017 sig_in=ssss
1018 sig_out=s
1019 doc=Convert an image to an other format
1020 doc_param_0=source: path of the image to convert
1021 doc_param_1=dest: path to the location where the new image must be stored.
1022 Empty string to generate a file in cache, unique to the source
1023 doc_param_3=extra: serialised extra
1024 doc_param_4=profile_key: either profile_key or empty string to use common cache
1025 this parameter is used only when dest is empty
1026 doc_return=path to the new converted image