Hi,

I want to draw in a bitmap by creating a Canvas from it. Currently I
use BitmapFactory.decodeStream() to load an immutable bitmap, do a
bitmap.copy() to make a mutable copy, and then create the Canvas from
the mutable copy. However, this means that I have two copies of the
bitmap in memory at once. Its not obvious why I shouldn't be able to
load the bitmap as mutable directly with BitmapFactory.decodeStream,
yet I can't seem to do it. Is there any way around this?

TIA,

Matthew Fleming

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to