未验证 提交 8294c8c3 编写于 作者: 朱静茹 提交者: Gitee

update zh-cn/application-dev/media/image-tool.md.

Signed-off-by: N朱静茹 <zhujingru2@huawei.com>
上级 c59a93fa
......@@ -37,7 +37,7 @@ EXIF信息的读取与编辑相关API的详细介绍请参见[API参考](../refe
// 编辑EXIF信息
imageSource.modifyImageProperty('ImageWidth', '120').then(() => {
const width : number = imageSource.getImageProperty("ImageWidth");
const width : Promise<string> = imageSource.getImageProperty("ImageWidth");
console.info('The new imageWidth is ' + width);
})
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册