Android Bitmap related knowledge points - type, creation, compression, conversion, etc

1, Bitmap storage format and memory calculation When we need to optimize performance or prevent OOM, we usually use RGB_565 this type. Because alpha_ Type 8 bitmap has only transparency and is not very useful. ARGB_4444 the display picture is not clear. ARGB_8888 takes up the most memory space. BItmap typeMemory occupied by one pixelALPHA ...

Posted by p3rk5 on Wed, 20 Oct 2021 13:07:10 -0700