Skip to content

Commit d646380

Browse files
authored
Merge pull request #1490 from onesounds/RemoveICCChunk
Remove ColorProfileData in app_missing_img
2 parents 4171fa1 + f7eb99d commit d646380

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

Flow.Launcher.Infrastructure/Image/ImageLoader.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ private static BitmapImage LoadFullImage(string path)
252252
image.BeginInit();
253253
image.CacheOption = BitmapCacheOption.OnLoad;
254254
image.UriSource = new Uri(path);
255+
image.CreateOptions = BitmapCreateOptions.IgnoreColorProfile;
255256
image.EndInit();
256257
return image;
257258
}
-1.6 KB
Loading
-910 Bytes
Loading

0 commit comments

Comments
 (0)