Over a million developers have joined DZone.
Silver Partner

DevBytes: Bitmap Scaling

· Java Zone

Learn how the use of BitmapOptions affects the resulting size of a loaded
bitmap.

Sub-sampling can speed up load times and reduce the need for large bitmaps
in memory if your target bitmap size is much smaller, although it's good to understand
that you can't get specific Bitmap sizes, but rather power-of-two reductions in sizes.

Code Zip
http://developer.android.com/shareabl...

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}