diff --git a/src/ImageSharp/Formats/Bmp/BmpDecoderOptions.cs b/src/ImageSharp/Formats/Bmp/BmpDecoderOptions.cs
index bfe7f6ca2c..b3387ce808 100644
--- a/src/ImageSharp/Formats/Bmp/BmpDecoderOptions.cs
+++ b/src/ImageSharp/Formats/Bmp/BmpDecoderOptions.cs
@@ -9,7 +9,7 @@ namespace SixLabors.ImageSharp.Formats.Bmp;
public sealed class BmpDecoderOptions : ISpecializedDecoderOptions
{
///
- public DecoderOptions GeneralOptions { get; init; } = DecoderOptions.Default;
+ public DecoderOptions GeneralOptions { get; init; } = new();
///
/// Gets the value indicating how to deal with skipped pixels,
diff --git a/src/ImageSharp/Formats/Jpeg/JpegDecoderOptions.cs b/src/ImageSharp/Formats/Jpeg/JpegDecoderOptions.cs
index 633b9f80b8..78ee317419 100644
--- a/src/ImageSharp/Formats/Jpeg/JpegDecoderOptions.cs
+++ b/src/ImageSharp/Formats/Jpeg/JpegDecoderOptions.cs
@@ -9,7 +9,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg;
public sealed class JpegDecoderOptions : ISpecializedDecoderOptions
{
///
- public DecoderOptions GeneralOptions { get; init; } = DecoderOptions.Default;
+ public DecoderOptions GeneralOptions { get; init; } = new();
///
/// Gets the resize mode.
diff --git a/tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs b/tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
index 99bba9e816..96b62d8284 100644
--- a/tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
+++ b/tests/ImageSharp.Tests/TestUtilities/Tests/TestImageProviderTests.cs
@@ -429,7 +429,7 @@ public class TestImageProviderTests
private class TestDecoderOptions : ISpecializedDecoderOptions
{
- public DecoderOptions GeneralOptions { get; init; } = DecoderOptions.Default;
+ public DecoderOptions GeneralOptions { get; init; } = new();
}
private class TestDecoderWithParametersOptions : ISpecializedDecoderOptions
@@ -438,6 +438,6 @@ public class TestImageProviderTests
public int Param2 { get; init; }
- public DecoderOptions GeneralOptions { get; init; } = DecoderOptions.Default;
+ public DecoderOptions GeneralOptions { get; init; } = new();
}
}