The same problem on StackOverflow:

http://stackoverflow.com/questions/4726129/why-so-much-memory

On Jan 9, 8:06 pm, Streets Of Boston <flyingdutc...@gmail.com> wrote:
> I doubt there is, Matthew. I've been looking for this answer a long
> time.
>
> But if someone knows how to do this, this would be great! Please, let
> us know! :-)
>
> On Jan 9, 12:44 pm, Matthew Fleming <mgf...@gmail.com> wrote:
>
>
>
>
>
>
>
> > 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