降采样适配3.x

Signed-off-by: tsm <2418639820@qq.com>
This commit is contained in:
tsm 2024-05-22 16:00:14 +08:00
parent 14c0485346
commit a180a0c9aa
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export class Downsampler {
autoResize:boolean |undefined
): calculateScaleType {
let degreesToRotate: ESObject = 0; //获取旋转角度
let degreesToRotate: ESObject = 90;
const fileType = typeValue //获取图片类型
let powerOfTwoWidth: number | null = null;
let powerOfTwoHeight: number | null = null;