Hi Sujay, Did you mean the bitmap assigned to Canvas construction is actually used for combing all kind of text, line, and picture drawing action into one piece of bitmap object? I'll try it and show you the code tomorrow. Thanks for your advice.
On Thu, Jun 4, 2009 at 5:26 PM, Sujay Krishna Suresh < [email protected]> wrote: > If u r talking in the context of storing a canvas to a bitmap, then i'd ask > u to use the canvas constructor that takes a bitmap as arg... once ur > drawing is complete, jus store this bitmap... that'll do... > > On Thu, Jun 4, 2009 at 2:47 PM, Saurav Mukherjee < > [email protected]> wrote: > >> try PictureDrawable class.. >> PictureDrawable pd=new PictureDrawable(String source); >> since this is a drwable, typecasting to Drawable, and getBitmap()... >> jus a suggestion... c if it works >> >> cheers! >> >> On Thu, Jun 4, 2009 at 12:45 PM, jerryfan2000 <[email protected]>wrote: >> >>> >>> Hi , >>> I am trying to figure out how to do convertion of Picture object >>> generated by webView to Bitmap for later JPEG encoding and saving to >>> local f/s. I tried to create a bitmap from pre created Picture object >>> by BitmapFactory.decodeStream and failed. Seems like Picture object is >>> unreconginzed format by Bitmap factory. Just wondering is there any >>> method to do the convertion? >>> >>> >> >> >> > > > -- > Regards, > Sujay > Mark Twain <http://www.brainyquote.com/quotes/authors/m/mark_twain.html> - > "There is no sadder sight than a young pessimist." > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

