Zeb-ur-Rehman
Zeb-ur-Rehman

Reputation: 1209

WPF render Blur Image

Currently i'm showing an icon in my application. The issue that i'm facing is that it shows image blur. Here is the snapshot of original icon (Zoomed Version).

Original Icon Image

Original Icon Image (Zoomed)

Solutions Tried so Far

Solution 1: WPF Rendered Image With SnapstoDevicePixel=False

WPF Rendered Image With SnapstoDevicePixel=False

Solution 2: WPF Rendered Image With SnapstoDevicePixel=True

WPF Rendered Image With SnapstoDevicePixel=True

Solution 3: WPF Rendered Image with RenderOptions.BitmapScalingMode="NearestNeighbor" RenderOptions.EdgeMode="Aliased"

WPF Rendered Image with RenderOptions.BitmapScalingMode="NearestNeighbor" RenderOptions.EdgeMode="Aliased

At the moment the better result i'm getting is using RenderOptions, but the issue is that it shows first bar bit bolder. Your help will be appreciated.

P.S: Ignore the size of image at the moment.

Upvotes: 0

Views: 157

Answers (1)

Dean Chalk
Dean Chalk

Reputation: 20471

Try RenderOptions.BitmapScalingMode="HighQuality"

Upvotes: 1

Related Questions