Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Commit

Permalink
fix(robock): set decode width
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-f committed Jun 24, 2019
1 parent e367bb2 commit 07533c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Robock/Converters/ImageUrlToBitmapConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public object Convert(object value, Type targetType, object parameter, CultureIn
bitmap.CacheOption = BitmapCacheOption.OnLoad;
bitmap.CreateOptions = BitmapCreateOptions.None;
bitmap.UriSource = new Uri(path);
bitmap.DecodePixelWidth = 960;
bitmap.EndInit();
bitmap.Freeze();

Expand Down

0 comments on commit 07533c0

Please sign in to comment.