diff --git a/src/ImageSharp/Formats/Jpeg/Components/Quantization.cs b/src/ImageSharp/Formats/Jpeg/Components/Quantization.cs
index 74fb19f54..8e5f928b0 100644
--- a/src/ImageSharp/Formats/Jpeg/Components/Quantization.cs
+++ b/src/ImageSharp/Formats/Jpeg/Components/Quantization.cs
@@ -2,9 +2,7 @@
// Licensed under the Apache License, Version 2.0.
using System;
-using System.Collections.Generic;
using System.Runtime.CompilerServices;
-using System.Text;
namespace SixLabors.ImageSharp.Formats.Jpeg.Components
{
@@ -87,8 +85,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components
///
/// Input quantization table.
/// Quantization to estimate against.
- /// Estimated quality
- /// indicating if given table is target-complient
+ /// Estimated quality
public static int EstimateQuality(ref Block8x8F table, ReadOnlySpan target)
{
// This method can be SIMD'ified if standard table is injected as Block8x8F.
@@ -152,8 +149,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components
/// Estimates jpeg quality based on quantization table in zig-zag order.
///
/// Luminance quantization table.
- /// Output jpeg quality.
- /// indicating if given table is ITU-complient.
+ /// Estimated quality
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int EstimateLuminanceQuality(ref Block8x8F luminanceTable)
=> EstimateQuality(ref luminanceTable, UnscaledQuant_Luminance);
@@ -162,8 +158,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components
/// Estimates jpeg quality based on quantization table in zig-zag order.
///
/// Chrominance quantization table.
- /// Output jpeg quality.
- /// indicating if given table is ITU-complient.
+ /// Estimated quality
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int EstimateChrominanceQuality(ref Block8x8F chrominanceTable)
=> EstimateQuality(ref chrominanceTable, UnscaledQuant_Chrominance);
diff --git a/src/ImageSharp/Formats/Jpeg/JpegDecoder.cs b/src/ImageSharp/Formats/Jpeg/JpegDecoder.cs
index 39b8e492f..b0bdbf0ed 100644
--- a/src/ImageSharp/Formats/Jpeg/JpegDecoder.cs
+++ b/src/ImageSharp/Formats/Jpeg/JpegDecoder.cs
@@ -4,8 +4,6 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
-using SixLabors.ImageSharp.IO;
-using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Formats.Jpeg
diff --git a/tests/ImageSharp.Tests/Formats/Jpg/QuantizationTests.cs b/tests/ImageSharp.Tests/Formats/Jpg/QuantizationTests.cs
index 2f673ef2f..03f7020c0 100644
--- a/tests/ImageSharp.Tests/Formats/Jpg/QuantizationTests.cs
+++ b/tests/ImageSharp.Tests/Formats/Jpg/QuantizationTests.cs
@@ -1,10 +1,8 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
-using System;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using Xunit;
-using Xunit.Abstractions;
using JpegQuantization = SixLabors.ImageSharp.Formats.Jpeg.Components.Quantization;
diff --git a/tests/ImageSharp.Tests/Formats/Jpg/SpectralJpegTests.cs b/tests/ImageSharp.Tests/Formats/Jpg/SpectralJpegTests.cs
index 0b819bf13..40b9e6867 100644
--- a/tests/ImageSharp.Tests/Formats/Jpg/SpectralJpegTests.cs
+++ b/tests/ImageSharp.Tests/Formats/Jpg/SpectralJpegTests.cs
@@ -4,7 +4,6 @@
using System;
using System.IO;
using System.Linq;
-using System.Threading;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.Formats.Jpeg.Components;
using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder;