Browse Source

Update decoder bases following merge

pull/1567/head
James Jackson-South 4 years ago
parent
commit
6e3dc810df
  1. 2
      src/ImageSharp/Formats/ImageDecoder.cs

2
src/ImageSharp/Formats/ImageDecoder.cs

@ -177,7 +177,7 @@ public abstract class ImageDecoder : IImageDecoder
return; return;
} }
IccProfile profile = image.Metadata?.IccProfile; IccProfile? profile = image.Metadata?.IccProfile;
if (profile is not null) if (profile is not null)
{ {
IccProfileConverter.Convert(image, profile, SrgbV4Profile.GetProfile()); IccProfileConverter.Convert(image, profile, SrgbV4Profile.GetProfile());

Loading…
Cancel
Save