# High quality avatar

**URL:** <https://support.delta.chat/t/high-quality-avatar/1052>\
**Category:** Feature Proposal\
**Created:** [June 28, 2020, 6:59pm UTC](https://support.delta.chat/t/high-quality-avatar/1052 "2020-06-28T18:59:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![1423425](https://support.delta.chat/letter_avatar_proxy/v4/letter/1/ecc23a/32.png) [@1423425](https://support.delta.chat/u/1423425)\
**Post date:** [January 21, 2026, 4:09pm UTC](https://support.delta.chat/t/high-quality-avatar/1052/8 "2026-01-21T16:09:28Z")

</div>

I also tried it with the original image in JPG-format, instead of lossless WebP, with a similar result.

After reading (a part of) the code, i think i understand why the avatar-image became blurry.  
If i understand correctly, the avatar-images with a resolution of 512x512 that the desktop-app let me download, were actually downscaled to 341x341 ([there](https://github.com/chatmail/core/blob/99aa99eb5b6515764e3533d7e69cdf0149d9cb2a/src/blob.rs#L428-L435), i think), but then (not sure where) scaled back up to 512x512.

I think [`if !exceeds_wh`](https://github.com/chatmail/core/blob/99aa99eb5b6515764e3533d7e69cdf0149d9cb2a/src/blob.rs#L428) is supposed to be `if exceeds_wh`.  
Currently it does apply additional resolution-reduction to images in JPG-format and encoded images that fit within the resolution-limit; instead of images that are larger than the limit.  
The same does happen when sending an image in a chat.

---

_[View the full topic](https://support.delta.chat/t/high-quality-avatar/1052)._
