怎么将当前帧的画布提取出画面啊? #2578
Answered
by
kevingpqi123
qianyunrumo
asked this question in
Q&A
-
我使用本地canvas的toDataURL和toBlob返回的画面都是空白的,pag有什么方法可以拿到画面吗 |
Beta Was this translation helpful? Give feedback.
Answered by
kevingpqi123
Nov 11, 2024
Replies: 1 comment
-
可以看下 PAGSurface 的相关接口,当前帧渲染完成后,可以通过相关接口读取到 RGBA 数据或平台层的图像封装数据 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kevingpqi123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以看下 PAGSurface 的相关接口,当前帧渲染完成后,可以通过相关接口读取到 RGBA 数据或平台层的图像封装数据