Android Question Handling Large Bitmaps

DrAlex

Member
Licensed User
Longtime User
Hello,

I would like to continue the discussion in

https://www.b4x.com/android/forum/threads/how-to-handle-large-bitmaps.50183/

My app downloads images from a website and displays them. It does not know the size of the image in advance. With modern cameras, a 2,400 x 4,000 picture is nothing special, but it can be too big for an Android app.

My questions:

1. How do you know what image size is reasonable for a given device?

2. How do I downsample my image to that size?
 
Top