android直接获取到webservices服务器上传过来的图片字节流文件,改如何去转成图片呢

android直接获取到webservices服务器上传过来的图片字节流文件,改怎么去转成图片呢
碰到一个小问题,请各位朋友帮忙。我用android获取图片,webservices服务器给我传回来个字节流文件,我在android端怎么去处理这个字节流文件才能把它转成图片显示出来呢。
------解决方案--------------------
字节流都是stream直接注入到bitmap的管道
------解决方案--------------------
Bitmap bitmap = BitmapFactory.decodeStream(is);
------解决方案--------------------
inputStream in=new inputStream(获取的字节流);
Bitmap bitmap = BitmapFactory.decodeStream(in);