Bitmap.compress(...)

This will write the bitmap to an OutputStream, compressed as either JPEG or PNG

On Fri, Sep 19, 2008 at 6:07 AM, Teo <[EMAIL PROTECTED]> wrote:
>
> Hi, is there a way to save the bitmap to an image file (and also load
> one from an image file) ?
>
> I'm working on this SDK example:
> http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/TouchPaint.html
>
> Thanks,
> Teo
> >
>

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