views:

36

answers:

1

I am trying to develope an app on canvas ,i am drawing a bitmap on canvas with the help of canvas.drawBitmap().After that i want to convert that canvas into bitmap.

can anyone give me suggession

thanking you in advance

A: 

i suggest you look to the method toDataURL to obtain an image, but i doubt it while provide a bmp file, more likely to be png.

More info here : https://developer.mozilla.org/en/DOM/HTMLCanvasElement

762x51mm