Preparing search index...
The search index is not available
如视 Five SDK
如视 Five SDK
five
ImageURLOptions
Interface ImageURLOptions
interface
ImageURLOptions
{
cut
?:
[
x
:
number
,
y
:
number
,
width
:
number
,
height
:
number
]
;
format
?:
|
"jpg"
|
"png"
|
"heif"
|
"webp"
|
"avif"
;
key
:
string
;
mappings
?:
ImageURLMappings
;
quality
?:
number
;
sharpen
?:
number
;
size
?:
number
;
}
Index
Properties
cut?
format?
key
mappings?
quality?
sharpen?
size?
Properties
Optional
cut
cut
?:
[
x
:
number
,
y
:
number
,
width
:
number
,
height
:
number
]
图片裁切
Optional
format
format
?:
|
"jpg"
|
"png"
|
"heif"
|
"webp"
|
"avif"
图片格式参数
key
key
:
string
图片类型标识
Optional
mappings
mappings
?:
ImageURLMappings
url匹配规则
Optional
quality
quality
?:
number
图片质量参数(0-100)
Optional
sharpen
sharpen
?:
number
锐化参数 海外不支持
Optional
size
size
?:
number
图片尺寸参数 尽量使用 2 的幂次 如 256 512 1024
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
cut
format
key
mappings
quality
sharpen
size
如视 Five SDK
Loading...
图片裁切