Add Ignore ColorProfile Code

This commit is contained in:
DB p 2022-10-19 14:39:27 +09:00
parent 4d75e1b29a
commit f7eb99d776

View file

@ -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;
}