Skip to content

[Skia] downscaling images is very blurry #17325

Closed

Description

@ramezgerges

Current behavior

The sampling algorithm in SKShader is very poor. It's very noticeable when compared side-by-side against WinUI. A first attempt was #16816 but it wasn't very sound. A more accurate fix is to write our own sampling shader. This was included in #17234, but it appears that SKRuntimeEffect works only with hardware acceleration (the SKSL cpu interpreter is seemingly only available in SkiaSharp3, see mono/SkiaSharp#1822).

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

Create any Image with a high-resolution source and limit its width and height to something small.

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on Jun 27, 2024
  2. self-assigned this
    on Jun 12, 2025
  3. erikvilima commented on Jun 12, 2025

    @erikvilima
    Contributor

    ✅ Tested using the latest dev uno.sdk (6.1.0-dev.222). It looks better than before.

    (Uno.Sdk 6.0.130)
    Image

    (Uno.Sdk 6.1.0-dev.222)
    Image

  4. added theissue type on Jun 20, 2025
  5. removed
    kind/bug
    triage/untriaged
    difficulty/tbd
    on Jun 22, 2025
  6. github-actions commented on May 6, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  7. locked as resolved and limited conversation to collaborators on May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions