toByteArray

Convert a Drawable fetched from resources to bytes.