未验证 提交 62c1bc1d 编写于 作者: 朱静茹 提交者: Gitee

update zh-cn/application-dev/media/image-pixelmap-operation.md.

Signed-off-by: N朱静茹 <zhujingru2@huawei.com>
上级 5c486c6f
......@@ -40,7 +40,7 @@
pixels: new ArrayBuffer(8),
offset: 0,
stride: 8,
region: { size: { height: 1, width: 2 }, x: 0, y: 0 }
region: { size : { height: 1, width: 2 }, x: 0, y: 0 }
}
pixelMap.readPixels(area).then(() => {
console.info('Succeeded in reading the image data in the area.');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册