Browse Source

Github not catching up...

Former-commit-id: a24ec65acfa81b98d1ab80ae6417205a21144002
Former-commit-id: c8456eb3a9ce60f423cc9f12a21eff2a28e2b264
Former-commit-id: 193527198f426177251c251db91d5ce54b62525a
af/merge-core
James Jackson-South 10 years ago
parent
commit
dee6b67a46
  1. 2
      src/ImageProcessor/Formats/Gif/LzwEncoder.cs

2
src/ImageProcessor/Formats/Gif/LzwEncoder.cs

@ -43,7 +43,7 @@ namespace ImageProcessor.Formats
public LzwEncoder(byte[] indexedPixels, byte colorDepth)
{
this.indexedPixels = indexedPixels;
this.colorDepth = colorDepth.Clamp<byte>(2, 8);
this.colorDepth = colorDepth.Clamp(2, 8);
this.initDataSize = this.colorDepth;
}

Loading…
Cancel
Save