Monday, August 8, 2011

[android-developers] Re: process large images

For the first part, i have found that i can process parts of the image
by using the BitmapRegionDecoder. Does anyone knows how to store an
image piece by piece ?

On Aug 6, 8:01 pm, alexandros mouzakidis <greatalexand...@gmail.com>
wrote:
> 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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate