- Delta Chat version: current main
- Steps to reproduce the problem:
- Set this image as an avatar in the Android app: Image. It has 512x512 pixels resolution and is below 60KB, i.e. there is no need to scale it down.
- Send a message to another profile
- Open that other profile, and enlarge the avatar
- -> The avatar will be of much worse quality
The probable cause is that the Android-app resizes images to be 640x640 pixels with jpeg-quality 100, before making it available to Chatmail Core. So perhaps changing 640 to 512 or removing the override for the resolution there (and in the other places it is done) will already solve this problem. Ideally, Android would hand the original image to core.
Credits to @72374, see chatmail/core#7760 (comment)
The probable cause is that the Android-app resizes images to be 640x640 pixels with jpeg-quality 100, before making it available to Chatmail Core. So perhaps changing
640to512or removing the override for the resolution there (and in the other places it is done) will already solve this problem. Ideally, Android would hand the original image to core.Credits to @72374, see chatmail/core#7760 (comment)