diff --git a/src/ImageSharp/Formats/Exr/ExrDecoderCore.cs b/src/ImageSharp/Formats/Exr/ExrDecoderCore.cs
index 6120314284..62d3591f5b 100644
--- a/src/ImageSharp/Formats/Exr/ExrDecoderCore.cs
+++ b/src/ImageSharp/Formats/Exr/ExrDecoderCore.cs
@@ -4,7 +4,6 @@
using System.Buffers;
using System.Buffers.Binary;
-using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using SixLabors.ImageSharp.Formats.Exr.Compression;
@@ -21,8 +20,6 @@ namespace SixLabors.ImageSharp.Formats.Exr;
///
internal sealed class ExrDecoderCore : ImageDecoderCore
{
- private const float Scale32Bit = 1f / 0xFFFFFFFF;
-
///
/// Reusable buffer.
///
@@ -814,9 +811,4 @@ internal sealed class ExrDecoderCore : ImageDecoderCore
return Unsafe.As(ref intValue);
}
-
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- public static TPixel ColorScaleTo32Bit(uint r, uint g, uint b, uint a)
- where TPixel : unmanaged, IPixel
- => TPixel.FromScaledVector4(new Vector4(r, g, b, a) * Scale32Bit);
}