The correct thing is that you encode the base64 image and send it through the server, before sending, it converts the Base64 image to a Byte array and sends that entire Object.
//Codificar uma imagem
Bitmap bitmap = BitmapFactory.decodeResource(getActivity().getResources(),
R.drawable.imagem);
ByteArrayOutputStream stream = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.PNG, 100, stream);
byte[] bitMapData = stream.toByteArray();
String encodedImage2 =Base64.encodeToString(bitMapData,Base64.DEFAULT);
//Decodificar
byte[] arquivo = null;
arquivo = Base64.decode(objeto.imagem.toString());