From b848e4bc6bd99054b77d678d6dd0d9c9ab1a01d9 Mon Sep 17 00:00:00 2001 From: tsm <2418639820@qq.com> Date: Mon, 29 Apr 2024 23:36:23 +0800 Subject: [PATCH] =?UTF-8?q?demo=E6=8A=A5=E9=94=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/DownsamplingPage.ets | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 }); }