From 91cab335c6514f1699b16446e9a12eb9fd2e6c81 Mon Sep 17 00:00:00 2001 From: y00656910 Date: Tue, 7 Nov 2023 16:44:52 +0800 Subject: [PATCH] support for ico image decoding in docs Signed-off-by: y00656910 Change-Id: Ia2a5de7d7deb07e9bbfc32103a2b756c0ee13e72 Signed-off-by: y00656910 --- zh-cn/application-dev/reference/apis/js-apis-image.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-image.md b/zh-cn/application-dev/reference/apis/js-apis-image.md index 211ce87e8f0..a728aa81d0b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-image.md +++ b/zh-cn/application-dev/reference/apis/js-apis-image.md @@ -1287,7 +1287,7 @@ createImageSource(uri: string): ImageSource | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ---------------------------------- | -| uri | string | 是 | 图片路径,当前仅支持应用沙箱路径。
当前支持格式有:.jpg .png .gif .bmp .webp RAW [SVG10+](#svg标签说明)。 | +| uri | string | 是 | 图片路径,当前仅支持应用沙箱路径。
当前支持格式有:.jpg .png .gif .bmp .webp RAW [SVG10+](#svg标签说明) .ico11+。 | **返回值:** @@ -1325,7 +1325,7 @@ createImageSource(uri: string, options: SourceOptions): ImageSource | 参数名 | 类型 | 必填 | 说明 | | ------- | ------------------------------- | ---- | ----------------------------------- | -| uri | string | 是 | 图片路径,当前仅支持应用沙箱路径。
当前支持格式有:.jpg .png .gif .bmp .webp RAW [SVG10+](#svg标签说明)。 | +| uri | string | 是 | 图片路径,当前仅支持应用沙箱路径。
当前支持格式有:.jpg .png .gif .bmp .webp RAW [SVG10+](#svg标签说明) .ico11+。 | | options | [SourceOptions](#sourceoptions9) | 是 | 图片属性,包括图片序号与默认属性值。| **返回值:** -- Gitee