diff --git a/src/ImageSharp/Formats/Gif/GifEncoderCore.cs b/src/ImageSharp/Formats/Gif/GifEncoderCore.cs index 247024570d..21b6ecb5b8 100644 --- a/src/ImageSharp/Formats/Gif/GifEncoderCore.cs +++ b/src/ImageSharp/Formats/Gif/GifEncoderCore.cs @@ -175,13 +175,11 @@ namespace SixLabors.ImageSharp.Formats.Gif pixelAspectRatio: 0, globalColorTableFlag: false, // TODO: Always false for now. globalColorTableSize: this.bitDepth - 1, - backgroundColorIndex: unchecked((byte)transparencyIndex) - ); + backgroundColorIndex: unchecked((byte)transparencyIndex)); descriptor.WriteTo(this.buffer); stream.Write(this.buffer, 0, GifLogicalScreenDescriptor.Size); - } /// @@ -261,8 +259,7 @@ namespace SixLabors.ImageSharp.Formats.Gif disposalMethod: metaData.DisposalMethod, transparencyFlag: transparencyIndex > -1, transparencyIndex: unchecked((byte)transparencyIndex), - delayTime: (ushort)metaData.FrameDelay - ); + delayTime: (ushort)metaData.FrameDelay); extension.WriteTo(this.buffer);