保存没有背景图像的画布
我是 Android 开发新手。
我正在尝试在完成一些绘制后从画布保存位图。画布以图像初始化。然后是一些简单的绘画...现在我想保存没有初始化图像的新绘画。是否可以?
提前致谢
I am new in Android development.
I am trying to save a bitmap from the canvas after doing some paint. the canvas is initiaised with an image. And then some simple paining... Now I want to save the new paining without the initialised image. Is it possible?
thanx in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试使用两张画布,一张用于背景绘制,一张用于其他绘制。
Try to use two canvases, one for background draw, one for other draw.
创建一个透明画布,并将背景图像放在下面。
Create a transparent canvas, and put your background image underneath.