Browse Source

type parameter was not assigned in constructor

pull/181/head
Johannes Bildstein 9 years ago
parent
commit
b2ca934a03
  1. 2
      src/ImageSharp/MetaData/Profiles/ICC/Various/IccClut.cs

2
src/ImageSharp/MetaData/Profiles/ICC/Various/IccClut.cs

@ -25,7 +25,7 @@ namespace ImageSharp
Guard.NotNull(gridPointCount, nameof(gridPointCount));
this.Values = values;
this.DataType = IccClutDataType.Float;
this.DataType = type;
this.InputChannelCount = gridPointCount.Length;
this.OutputChannelCount = values[0].Length;
this.GridPointCount = gridPointCount;

Loading…
Cancel
Save