mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix image banding that can sometimes show in high-res images.
This commit is contained in:
committed by
Cody Henthorne
parent
cf3dd70600
commit
11b1c9655c
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user