Showing posts with label Bitmap decode resource. Show all posts
Showing posts with label Bitmap decode resource. Show all posts

Sunday, 21 June 2015

Drawable to Bitmap using Android



Convert Drawable to Bitmap:

1
Bitmap bitmap= BitmapFactory.decodeResource(getResources(),  R.drawable.image);