Android Utililty Methods InputStream to Bitmap Convert

List of utility methods to do InputStream to Bitmap Convert

Description

The list of methods to do InputStream to Bitmap Convert are organized into topic(s).

Method

BitmaptoBitmap(InputStream is)
to Bitmap
if (null == is)
    return null;
return toBitmapDrawable(is).getBitmap();
BitmaptoBitmap(InputStream is)
to Bitmap
if (null == is) {
    return null;
return toBitmapDrawable(is).getBitmap();
BitmapDrawabletoBitmapDrawable(InputStream is)
to Bitmap Drawable
BitmapDrawable bitmapDrawable = new BitmapDrawable(is);
is.close();
return bitmapDrawable;
BitmapDrawabletoBitmapDrawable(InputStream is)
to Bitmap Drawable
BitmapDrawable bitmapDrawable = new BitmapDrawable(is);
is.close();
return bitmapDrawable;
BufferedImageloadCompatibleImage(InputStream stream)
load Compatible Image
BufferedImage image = ImageIO.read(stream);
return toCompatibleImage(image);