Image avatars appear distorted when the source image is not square.
Observed:
- In the profile side pane, the large circular avatar is visibly stretched.
- In the main timeline, the same user's smaller avatar is also stretched.
Expected:
- Avatar images should preserve their original aspect ratio.
Environment:
- macOS
- Robrix main branch
- commit: a3595f2
This suggests the Avatar image renderer is scaling the image independently in X/Y to fit the avatar bounds. Square avatar images do not appear stretched.
Image avatars appear distorted when the source image is not square.
Observed:
Expected:
Environment:
This suggests the Avatar image renderer is scaling the image independently in X/Y to fit the avatar bounds. Square avatar images do not appear stretched.