MrShi
8 天以前 7c93550a244fcc74678344628c229b42438c729f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * 图片压缩 请求参数定义
 * @apiName biz.util.compressImage
 */
export interface IBizUtilCompressImageParams {
    /** 要压缩的图片地址数组 */
    filePaths: string[];
    /** 压缩级别,支持 0 ~ 4 的整数,默认 4。 */
    compressLevel?: number;
}
/**
 * 图片压缩 返回结果定义
 * @apiName biz.util.compressImage
 */
export interface IBizUtilCompressImageResult {
    /** 压缩后的路径数组 */
    filePaths: string[];
}
/**
 * 图片压缩
 * @apiName biz.util.compressImage
 * @supportVersion ios: 5.1.1 android: 5.1.1
 */
export declare function compressImage$(params: IBizUtilCompressImageParams): Promise<IBizUtilCompressImageResult>;
export default compressImage$;