Android downsample bitmap vs different bitmap sizes -


i reading on developing on android (beginner) through website , wondering if there difference between following 2 options , trade offs, if going in correct direction.

the following url explains how can "downsample" image fit smaller. https://developer.android.com/training/displaying-bitmaps/load-bitmap.html

in section, explains how have different sized bitmaps different screen of different densities. https://developer.android.com/training/basics/supporting-devices/screens.html

my question whats difference if choose first approach, have big bitmap , downsample according screen density, (perhaps resulting in more computational power, less battery life) , second approach, have several bitmaps of different sizes.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -