Saturday, August 6, 2011

[android-developers] process large images

Hi, i want to process an image that the phone has not enough memory to
load all in memory. BitmapFactory.decode() fails and an out of memory
exception is raised.
Is it possible to load only some part of an image? If i can how can i
make an image output stream so i can write the processed parts into a
new file and when the job is finished then i will get a new image with
the same size as the initial one.

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

No comments:

Post a Comment