PREFER_ARGB_8888
Content copied to clipboard
Bitmaps returned by the com.bumptech.glide.load.ResourceDecoder. should return ARGB_8888 for getConfig when possible.
On Android O+, this format will use ARGB_8888 only when it's not possible to use HARDWARE. More information is available about hardware Bitmaps here: https://goo.gl/tn2A6k. If you need to disable hardware Bitmaps for a particular request, use disallowHardwareConfig.
GIF images decoded by android.graphics.BitmapFactory currently use an internal hidden format that is returned as null from getConfig. Since we cannot force android.graphics.BitmapFactory to always return our desired config, this setting is a preference, not a promise.