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
-~----------~----~----~----~------~----~------~--~---

Reply via email to