Bitmap make our app more beautiful and there are some risk as well if we do not handle it correctly. There are many things about the bitmap that we have to know to understand how it works.
39. RGB_565
5-bit for blue and red and 6-bit for green
without alpha, common use for do not require
high color fidelity
Bitmap.Config.RGB_565
1 pixel required 2 bytes
40. ARGB_8888
8-bit RGB with alpha, common use for the
quality
Bitmap.Config.ARGB_8888
1 pixel required 4 bytes
41. RGBA_F16
16-bit RGB with alpha, wide-gamut and HDR
content
Bitmap.Config.RGB_F16
1 pixel required 8 bytes
42. HARDWARE
Store the values in graphic memory, to draw
the bitmap on a screen only
Bitmap.Config.HARDWARE
95. ImageDecoder in AndroidX?
"We are planning a Support
Library for ImageDecoder"
Someone from Google Team
8 May 2018
https://issuetracker.google.com/issues/78041382