为什么android图像使用位图来显示?

为什么android图像使用位图来显示?,android,bitmap,Android,Bitmap,位图不是非常大而且效率低下吗 为什么Android图像视图会使用它们呢 Uri new_picture_uri = data.getData(); try { Bitmap new_picture_bmp = MediaStore.Images.Media.getBitmap(getContentResolver(), new_picture_uri); DISPLAY_VIEW.setImageBitmap(new_picture_bmp); } catch (IOExce

位图不是非常大而且效率低下吗

为什么Android图像视图会使用它们呢

Uri new_picture_uri = data.getData();

try
{
    Bitmap new_picture_bmp = MediaStore.Images.Media.getBitmap(getContentResolver(), new_picture_uri);

    DISPLAY_VIEW.setImageBitmap(new_picture_bmp);
}
catch (IOException exception)
{
    exception.printStackTrace();
}

位图在存储方面效率低下,但在显示方面却非常完美。Android将更节省空间的格式(png、jpg等)转换为位图对象以进行操作和显示