From 4fe7bce24ec2d7f18914cac46b33f9e78873ab32 Mon Sep 17 00:00:00 2001 From: tsm <2418639820@qq.com> Date: Mon, 29 Apr 2024 21:41:05 +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 --- .../main/ets/components/imageknife/utils/svg/SVGParseImpl.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets b/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets index a7c69cf..921830d 100644 --- a/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets +++ b/library/src/main/ets/components/imageknife/utils/svg/SVGParseImpl.ets @@ -47,7 +47,6 @@ export class SVGParseImpl implements IParseSvg { } } } - }) imageSource.createPixelMap(opts).then((pixelMap: image.PixelMap) => { let imageKnifeData = ImageKnifeData.createImagePixelMap(ImageKnifeType.PIXELMAP, pixelMap) onComplete(imageKnifeData?.drawPixelMap?.imagePixelMap as PixelMap); @@ -56,5 +55,6 @@ export class SVGParseImpl implements IParseSvg { onErrorFunction(err); imageSource.release() }) + }) } } \ No newline at end of file