views:

34

answers:

1

Now I'm using the follow code to scale down the image downloaded from internet at runtime. But the result is not good enough.

Bitmap.createScaledBitmap(srcBitmap, dstWidth, dstHeight, true);

Any help? Thanks.

A: 

If the result is not good enough for you, try dividing the size of the image by 2 until you reach the size you want.

Romain Guy
Do you mean that use the same method with half width and height?
shiami
Is there a better way?
shiami