views:

18

answers:

0

When I run the following code:

Bitmap scaledBitmap = bitmap.createScaledBitmap(bitmap, 32, 32, true);

my bitmap goes from white to black.

My question is, why would this happen? Does scaling disturb the bitmap's transparency?