diff --git a/src/ImageProcessor/Formats/Gif/LzwEncoder.cs b/src/ImageProcessor/Formats/Gif/LzwEncoder.cs index 27f33389c..f68d07f8f 100644 --- a/src/ImageProcessor/Formats/Gif/LzwEncoder.cs +++ b/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(2, 8); + this.colorDepth = colorDepth.Clamp(2, 8); this.initDataSize = this.colorDepth; }