Browse Source

Add TODO to TiffLZWDecoder

pull/1553/head
James Jackson-South 5 years ago
parent
commit
10a12f752a
  1. 2
      src/ImageSharp/Formats/Tiff/Compression/Decompressors/TiffLzwDecoder.cs

2
src/ImageSharp/Formats/Tiff/Compression/Decompressors/TiffLzwDecoder.cs

@ -101,6 +101,8 @@ namespace SixLabors.ImageSharp.Formats.Tiff.Compression.Decompressors
Guard.NotNull(stream, nameof(stream));
this.stream = stream;
// TODO: Investigate a manner by which we can avoid this allocation.
this.table = new LzwString[TableSize];
for (int i = 0; i < 256; i++)
{

Loading…
Cancel
Save