public void setData ( Bitmap bitmap , Bitmap . CompressFormat format , int quality ) throws IOException { setData ( BitmapConverter . toBytes ( bitmap , format , quality ) ) ; }
Set the data from a bitmap