Browse Source

type parameter was not assigned in constructor

af/merge-core
Johannes Bildstein 9 years ago
parent
commit
8931b99af4
  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)); Guard.NotNull(gridPointCount, nameof(gridPointCount));
this.Values = values; this.Values = values;
this.DataType = IccClutDataType.Float; this.DataType = type;
this.InputChannelCount = gridPointCount.Length; this.InputChannelCount = gridPointCount.Length;
this.OutputChannelCount = values[0].Length; this.OutputChannelCount = values[0].Length;
this.GridPointCount = gridPointCount; this.GridPointCount = gridPointCount;

Loading…
Cancel
Save