未验证 提交 57a8cfa8 编写于 作者: 朱静茹 提交者: Gitee

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

Signed-off-by: N朱静茹 <zhujingru2@huawei.com>
上级 9c3ff94f
......@@ -100,11 +100,11 @@
4. 设置解码参数DecodingOptions,解码获取PixelMap图片对象。
```ts
class decodingOption {
flag : boolean = true
n : number = 0
class DecodingOption {
editable : boolean = true
desiredPixelFormat : number = 0
}
let decodingOptions = {
let decodingOptions : DecodingOption = {
editable: true,
desiredPixelFormat: 3,
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册