Browse Source

Github not catching up...

Former-commit-id: e4c5f63f2ee05cad204be9d1d9de178a34ae7954
Former-commit-id: ea96d9595843a7db90a0658ea4348c5745a60fcc
Former-commit-id: 32934a4eb9572f70a8738fa8966ac7e71a7ffcc6
af/merge-core
James Jackson-South 10 years ago
parent
commit
fd0b2b9eed
  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) public LzwEncoder(byte[] indexedPixels, byte colorDepth)
{ {
this.indexedPixels = indexedPixels; this.indexedPixels = indexedPixels;
this.colorDepth = colorDepth.Clamp<byte>(2, 8); this.colorDepth = colorDepth.Clamp(2, 8);
this.initDataSize = this.colorDepth; this.initDataSize = this.colorDepth;
} }

Loading…
Cancel
Save