Skip to content

Commit

Permalink
Merge pull request #16274 from iterate-ch/bugfix/MD-22063
Browse files Browse the repository at this point in the history
IgnoreColorProfile was necessary for some systems
  • Loading branch information
dkocher committed Sep 1, 2024
2 parents 9f9ebdd + 7711079 commit fd5f704
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private IEnumerable<BitmapSource> GetImages(Stream stream, GetCacheIconCallback
{
var list = new List<BitmapSource>();

var decoder = BitmapDecoder.Create(stream, BitmapCreateOptions.None, BitmapCacheOption.OnLoad);
var decoder = BitmapDecoder.Create(stream, BitmapCreateOptions.IgnoreColorProfile, BitmapCacheOption.OnLoad);
if (decoder is GifBitmapDecoder)
{
var frame = decoder.Frames[0];
Expand Down

0 comments on commit fd5f704

Please sign in to comment.