core
正在准备搜索索引...
YmxMedia
GetImageInfoResult
接口 GetImageInfoResult
interface
GetImageInfoResult
{
height
:
number
;
orientation
?:
string
;
path
:
string
;
type
?:
string
;
width
:
number
;
}
索引
属性
height
orientation?
path
type?
width
属性
height
height
:
number
图片高度,单位px
可选
orientation
orientation
?:
string
返回图片的方向
up 默认方向(手机横持拍照),对应 Exif 中的 1。或无 orientation 信息。
up-mirrored 同 up,但镜像翻转,对应 Exif 中的 2
down 旋转180度,对应 Exif 中的 3
down-mirrored 同 down,但镜像翻转,对应 Exif 中的 4
left-mirrored 同 left,但镜像翻转,对应 Exif 中的 5
right 顺时针旋转90度,对应 Exif 中的 6
right-mirrored 同 right,但镜像翻转,对应 Exif 中的 7
left 逆时针旋转90度,对应 Exif 中的 8
path
path
:
string
返回图片的本地路径
可选
type
type
?:
string
返回图片的格式
unknown 未知格式
jpeg jpeg压缩格式
png png压缩格式
gif gif压缩格式
tiff tiff压缩格式
width
width
:
number
图片宽度,单位px
显示设置
成员可见性
受保护
继承
外部
配色
自动
浅色
深色
目录
属性
height
orientation
path
type
width
core
加载中……
图片高度,单位px