Fix image banding that can sometimes show in high-res images.

fork-5.53.8
Greyson Parrelli 2022-09-22 11:27:13 -04:00 zatwierdzone przez Cody Henthorne
rodzic cf3dd70600
commit 11b1c9655c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -52,7 +52,7 @@ public class AttachmentRegionDecoder implements ImageRegionDecoder {
synchronized(this) {
BitmapFactory.Options options = new BitmapFactory.Options();
options.inSampleSize = sampleSize;
options.inPreferredConfig = Bitmap.Config.RGB_565;
options.inPreferredConfig = Bitmap.Config.ARGB_8888;
Bitmap bitmap = bitmapRegionDecoder.decodeRegion(rect, options);