[android-developers] Is it possible to Canvas.drawBitmap() directly to a file?
I'm trying to reduce memory consuption of my app. It uses Canvas.drawBitmap on a bitmap in memory, and when the drawing is complete, saves it to the sdcard.
I'm wondering if there is any way to append the drawing direct to a file via stream, instead of writing the hole bitmap in memory.
Do you guys know if it is possible?
Thanks in advance.
Guilherme
-- 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home