diff --git a/library/src/main/ets/downsampling/Downsampler.ets b/library/src/main/ets/downsampling/Downsampler.ets index d324959..72f0170 100644 --- a/library/src/main/ets/downsampling/Downsampler.ets +++ b/library/src/main/ets/downsampling/Downsampler.ets @@ -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;