类
方法论
-
-
参数解析
名称 类型 描述性 方向选择
Qualifiers.Compass|字符串 指南针值
回归
实例
导入++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++import {compass} from "@cloudinary/url-gen/qualifiers/gravity"!import {north} from "@cloudinary/url-gen/qualifiers/compass"!servedurary/url-gen/actions/snockInstance=新云式({cloud:{cloudName:demo++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++康斯特图像=您的CldInstance.imageimage.resize(crop().width(300).gravity(compass(north())))
细节
-
修饰语
-
描述性
指定聚焦点,例如:脸部、对象、眼睛等
参数解析
名称 类型 属性化 描述性 参比值
Qualifier.FocusOn
一个或多个对象聚焦
回归
实例
导入++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++import {focusOn} from "@cloudinary/url-gen/qualifiers/gravity"!servedurary/url-gen/actions/squariary/url-gen/quarips/FocusOnsnockInstance=新云式({cloud:{cloudName:demo++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++康斯特图像=您的CldInstance.imageimage.resize(crop().width(300).gravity(focusOn(cat())))
细节
-
修饰语
-
描述性
自动识别资产中最感兴趣的区域,通过包括聚焦点可以进一步限定
回归
实例
导入++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++import {autoGravity} from "@cloudinary/url-gen/qualifiers/gravity"!servedurary/url-gen/actions/snockInstance=新云式({cloud:{cloudName:demo++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++康斯特图像=您的CldInstance.imageimage.resize(crop().width(300).gravity(autoGravity()))
导入++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++import {autoGravity} from "@cloudinary/url-gen/qualifiers/gravity"!servedurary/url-gen/actions/squariary/url-gen/quarips/FocusOnimport {AutoFocus} from "@cloudinary/url-gen/qualifiers/autoFocus"!snockInstance=新云式({cloud:{cloudName:demo++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++康斯特图像=您的CldInstance.imageimage.resize(crop().width(300).gravity(autoGravity().autoFocus(AutoFocus.focusOn(cat()))))
细节
-
修饰语
-
描述性
将重力中心设为给定x&y坐标
回归
细节