Hi everyone,

I managed to handle a full size image (2048x1536) (moving around,
zooming, some colorfilters, etc). However, i can only load these
images in memory as RGB_565, one at a time. I try to free as much
bitmap memory as possible (by recycling every possible bitmap cached/
open in my app), and then load the full-sized image in RGB_565 format.
This works well.

The user can make some modifications (color balance, brightness, etc)
and I like to save the resulting image in a JPEG file. However, on
screen, all edits are shown in RGB_565. You can see the posterization
because of the reduced pixel-depth. The quality degradation on the
screen is a minor problem. My main problem is to apply these edits to
the actual and higher quality ARGB_8888 data of the original JPEG
file.

Trying to load a ARGB_8888 JPEG file with size 2048x1536 is not
possible. I get an out-of-memory error.
Is there any way to apply color-filters to ARGB_8888 data (instead of
RGB_565) so that i won't lose a lot of image-quality when trying to
save modifications into a JPEG file?

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