Scaled down images look excessively pixelated on desktop
#2 883 ouverte le 9 mars 2025
Métriques du dépôt
- Stars
- (11 779 stars)
- Métriques de merge PR
- (Merge moyen 20h 14m) (28 PRs mergées en 30 j)
Description
Describe the bug
Large AsyncImages scaled down (compared to their original size) look excessively pixelated (on at least) desktop. This doesn't seem to be an issue on Android, so I'm guessing this is not intended behaviour? I can only test these two platforms right now, so it is possible other platforms are also affected.
The effect is most noticeable with screenshots that contain lots of text, as the text becomes completely distorted and unreadable.
To Reproduce
Try to load a high-resolution image with medium-to-small text on it, as the issue is most apparent on images of this type, (e.g. a screenshot of an IDE window) and try to scale it down.
Version v3.1.0
Samples
Original image:
Android scaled down a lot (this is still just about readable!):
Desktop scaled down slightly (already falling apart):
Desktop scaled down a lot (unreadable):
I considered that this is simply due to the higher pixel density of a phone's screen, but the issue is also not reproducible in the emulator so I'm not sure anymore. 😅