---
created: 2026-04-07T09:19:57.504Z
title: Fix avatar image scaling quality
area: ui
files: []
---

## Problem

Avatar images appear with poor scaling quality — likely due to downscaling larger source images without proper interpolation, or fetching images at a resolution too low for the display size. The result is blurry or pixelated avatars.

## Solution

- Check what resolution avatar images are being fetched at (Discord CDN supports size parameters like `?size=128`)
- Verify Slint's image scaling mode — ensure it uses smooth/bilinear interpolation rather than nearest-neighbor
- Consider fetching avatars at 2x the display size for high-DPI support
- Check if the `image-fit` and `image-rendering` properties in Slint are set appropriately
