그냥 casting하면 된다.
Bitmap bitmap = ((BitmapDrawable)d).getBitmap();
refs:
http://stackoverflow.com/questions/3035692/how-to-convert-a-drawable-to-a-bitmap
http://sdw8001.tistory.com/21 -> bitmap, canvas, drawable 개념
happy hacking'
그냥 casting하면 된다.
Bitmap bitmap = ((BitmapDrawable)d).getBitmap();
refs:
http://stackoverflow.com/questions/3035692/how-to-convert-a-drawable-to-a-bitmap
http://sdw8001.tistory.com/21 -> bitmap, canvas, drawable 개념
happy hacking'