@ -49,7 +49,7 @@ namespace SixLabors.ImageSharp.Tests
// BUG: PDF.js output is wrong on spectral level!
private static readonly ImageComparer PdfJsProgressiveComparer =
ImageComparer.Tolerant(0.015f, pixelThresholdHammingDistance: 4);
ImageComparer.Tolerant(0.015f, perPixelManhattanThreshold: 4);
public JpegDecoderTests(ITestOutputHelper output)
@ -6,6 +6,7 @@ namespace SixLabors.ImageSharp.Tests
using System.Linq;
using SixLabors.ImageSharp.Formats;
using SixLabors.ImageSharp.Formats.Jpeg;
using SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison;
@ -1,6 +1,7 @@
namespace SixLabors.ImageSharp.Tests
{
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.Tests.TestUtilities.ReferenceCodecs;