DecodeFormat
Options for setting the value of getConfig for s returned by com.bumptech.glide.load.ResourceDecoders.
Note - In some cases it may not be possible to obey the requested setting, not all s support setting formats and certain images may not be able to be loaded as certain configurations. Therefore this class represents a preference rather than a requirement.
Entries
Link copied to clipboard
Content copied to clipboard
Bitmaps returned by the com.bumptech.glide.load.ResourceDecoder. should return ARGB_8888 for getConfig when possible.
Link copied to clipboard
Content copied to clipboard
Bitmaps decoded from image formats that support and/or use alpha (some types of PNGs, GIFs etc) should return ARGB_8888 for getConfig. Bitmaps decoded from formats that don't support or use alpha should return RGB_565 for getConfig.