FROM drawable TO bitmap :
Drawable d = ImagesArrayList.get(0);
Bitmap bitmap = ((BitmapDrawable)d).getBitmap();
FROM resource id of drawable TO bitmap:
Bitmap b1 = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon_resource);
Reference:
http://stackoverflow.com/questions/3035692/how-to-convert-a-drawable-to-a-bitmap