Hi,

I'm looking for a good way to present a pixel array on the screen.

Currently I'm using ImageView that takes a bitmap. I use SetPixels()
on this bitmap with my pixel array and invalidate() on the View to
trigger a redraw. I find it a bit slow though. Is there a better way?
Seems like copying pixel data is a waste.

I also have another related question. I'm decoding megapixel images
using BitmapFactory and I wish to decode them with rather high
resolution (up to 3 MP). I get this to work but in a later step I also
need to get pixel access and use GetPixels on the bitmap for this.
This is where the memory runs out and it seems quite unnecessary
having to have two big memory blocks created in order to do this.

Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to