mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add Ignore ColorProfile Code
This commit is contained in:
parent
4d75e1b29a
commit
f7eb99d776
1 changed files with 1 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ namespace Flow.Launcher.Infrastructure.Image
|
|||
image.BeginInit();
|
||||
image.CacheOption = BitmapCacheOption.OnLoad;
|
||||
image.UriSource = new Uri(path);
|
||||
image.CreateOptions = BitmapCreateOptions.IgnoreColorProfile;
|
||||
image.EndInit();
|
||||
return image;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue