diff --git a/entry/src/main/ets/pages/DownsamplingPage.ets b/entry/src/main/ets/pages/DownsamplingPage.ets index ad58d25..32ed77a 100644 --- a/entry/src/main/ets/pages/DownsamplingPage.ets +++ b/entry/src/main/ets/pages/DownsamplingPage.ets @@ -15,7 +15,8 @@ import { FitCenter, ImageKnifeComponent, ImageKnifeData, ImageKnifeGlobal, - ImageKnifeOption, RequestOption } from '@ohos/libraryimageknife' + ImageKnifeOption, + RequestOption } from '@ohos/libraryimageknife' import { BusinessError } from '@ohos.base' import { fitter, sampleNone } from '@ohos/imageknife'; @@ -104,9 +105,9 @@ struct DownsamplingPage { Column() { Column() { Text("ImageKnifeComponent用法").fontColor(Color.Gray).fontSize(16); - ImageKnifeComponent({ imageKnifeOption: this.imageKnifeOption2 }) - .width(200) - .height(200) + // ImageKnifeComponent({ imageKnifeOption: this.imageKnifeOption2 }) + // .width(200) + // .height(200) }.margin({ top: 10 }); }.margin({ bottom: 30 }); }