sadat
sadat

Reputation: 4352

save a paint canvas without the background image

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

Upvotes: 0

Views: 404

Answers (2)

njzk2
njzk2

Reputation: 39405

Create a transparent canvas, and put your background image underneath.

Upvotes: 0

Tang Ke
Tang Ke

Reputation: 1508

Try to use two canvases, one for background draw, one for other draw.

Upvotes: 1

Related Questions