Android Question How to load a huge image without outofmemory exception

Cableguy

Expert
Licensed User
Longtime User
Hi guys,

How can I load a BIG image and still avoid the OutOfMemory exception?
What I aim to do is to show a HiRes image, zoom fitted to the screen, and with user double tap, zoom in in the zone tapped.
Any ideas?
 

Cableguy

Expert
Licensed User
Longtime User
So I could then just load a sampled zoomed out image, and after load the tapped part of the image zoomed in, right?
 
Upvote 0

wonder

Expert
Licensed User
Longtime User
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
indeed it helps, thanks Bruno
 
Upvote 0
Top