diff --git a/FAQ.md b/FAQ.md index 7d926f3a77..49b9de17a3 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1116,7 +1116,7 @@ If your provider requires an unsupported authentication method, you'll likely ge Large inline or attached [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) and [JPEG](https://en.wikipedia.org/wiki/JPEG) images will automatically be resized for displaying on screens. This is because email messages are limited in size, depending on the provider mostly between 10 and 50 MB. -Image will be resized to a maximum width and height of about 1280 pixels and saved with a compression ratio of 90 out of 100. +Image will be resized to a maximum width and height of about 1440 pixels and saved with a compression ratio of 90 %. Images are scaled down using whole number factors to reduce memory usage and to retain image quality. There is an advanced option to disable automatically resizing of image attachments. Inline (embedded) images will always be resized. diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 5df928a94d..ead9286d31 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -182,8 +182,8 @@ public class FragmentCompose extends FragmentBase { private boolean encrypt = false; private OpenPgpServiceConnection pgpService; - private static final int REDUCED_IMAGE_SIZE = 1280; - private static final int REDUCED_IMAGE_QUALITY = 90; + private static final int REDUCED_IMAGE_SIZE = 1440; // pixels + private static final int REDUCED_IMAGE_QUALITY = 90; // percent @Override public void onCreate(Bundle savedInstanceState) {