mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-27 19:26:26 +02:00
Small improvement
This commit is contained in:
@@ -121,7 +121,7 @@ public class FragmentDialogEditImage extends FragmentDialogBase {
|
||||
File file = attachment.getFile(context);
|
||||
|
||||
try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) {
|
||||
bm.compress(Bitmap.CompressFormat.PNG, 90, os);
|
||||
bm.compress(Bitmap.CompressFormat.PNG, ImageHelper.DEFAULT_PNG_COMPRESSION, os);
|
||||
}
|
||||
|
||||
db.attachment().setName(id, attachment.name, "image/png", file.length());
|
||||
|
||||
Reference in New Issue
Block a user