it is better to use canvas.drawBitmap(int[] colors, ...) instead of creating and pre-scaling your bitmap