Convert drawable to bitmap in android

Convert drawable to bitmap in android

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

Leave a Reply

Your email address will not be published. Required fields are marked *