Skip to content

Commit e4d0ffe

Browse files
committed
Dont use the default config in ToRgba32
1 parent 247834f commit e4d0ffe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImageSharp/Formats/Bmp/BmpEncoderCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private void Write8BitColor<TPixel>(Stream stream, ImageFrame<TPixel> image, Spa
343343
Span<Rgba32> rgbColors = rgbColorsBuffer.GetSpan();
344344

345345
ReadOnlySpan<TPixel> quantizedColors = quantized.Palette.Span;
346-
PixelOperations<TPixel>.Instance.ToRgba32(Configuration.Default, quantizedColors, rgbColors);
346+
PixelOperations<TPixel>.Instance.ToRgba32(this.configuration, quantizedColors, rgbColors);
347347

348348
int idx = 0;
349349
foreach (Rgba32 color in rgbColors)

0 commit comments

Comments
 (0)