Skip to content

Commit 7e8dca2

Browse files
Update GifEncoderCore.cs
1 parent d1ab884 commit 7e8dca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Formats/Gif/GifEncoderCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private void EncodeAdditionalFrames<TPixel>(
189189
// This frame is reused to store de-duplicated pixel buffers.
190190
// This is more expensive memory-wise than de-duplicating indexed buffer but allows us to deduplicate
191191
// frames using both local and global palettes.
192-
using ImageFrame<TPixel> encodingFrame = new(previousFrame.GetConfiguration(), previousFrame.Size());
192+
using ImageFrame<TPixel> encodingFrame = new(previousFrame.Configuration, previousFrame.Size());
193193

194194
for (int i = 1; i < image.Frames.Count; i++)
195195
{

0 commit comments

Comments
 (0)