public void send(Socket client, Bitmap bitmap) { // Convert the bitmap to byte data. byte[] byteData = ImageManager.imageToByte(bitmap); send(byteData, client, DataType.image); }
public void send(Bitmap bitmap) { byte[] byteData = ImageManager.imageToByte(bitmap); send(byteData, DataType.image); }