Skip to content

Scaled down images look excessively pixelated on desktopΒ #2883

@hypergonial

Description

@hypergonial

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:

Image

Android scaled down a lot (this is still just about readable!):

Image

Desktop scaled down slightly (already falling apart):

Image

Desktop scaled down a lot (unreadable):

Image

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. πŸ˜…

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssues that are up for grabs + are good candidates for community PRs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions