Should be fine.

On Thu, Dec 4, 2008 at 9:00 AM, webmonkey <[EMAIL PROTECTED]> wrote:

>
> Because the Bitmap.compress(Bitmap.CompressFormat format, int quality,
> OutputStream stream) function can sometimes take a long time I am
> calling it in a separate thread with low priority. During this time I
> am drawing the same bitmap in the UI thread using Canvas.drawBitmap
> (Bitmap bitmap, float left, float top, Paint paint) at 30fps.
>
> Although the bitmap is mutable I am not writing to the bitmap during
> this period. It works fine but I want to make sure that it is safe to
> do this.
>
> Thanks
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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