From f0038646fff10ae487db0535a7da5f70aeb0c561 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Thu, 13 Oct 2022 10:08:29 +1000 Subject: [PATCH] Remove unused constructor --- .../Decompressors/JpegTiffCompression.cs | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/ImageSharp/Formats/Tiff/Compression/Decompressors/JpegTiffCompression.cs b/src/ImageSharp/Formats/Tiff/Compression/Decompressors/JpegTiffCompression.cs index 16747e1f30..82b26232af 100644 --- a/src/ImageSharp/Formats/Tiff/Compression/Decompressors/JpegTiffCompression.cs +++ b/src/ImageSharp/Formats/Tiff/Compression/Decompressors/JpegTiffCompression.cs @@ -1,7 +1,6 @@ // Copyright (c) Six Labors. // Licensed under the Six Labors Split License. -using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.Formats.Jpeg; using SixLabors.ImageSharp.Formats.Jpeg.Components.Decoder; using SixLabors.ImageSharp.Formats.Tiff.Constants; @@ -45,26 +44,6 @@ internal sealed class JpegTiffCompression : TiffBaseDecompressor this.photometricInterpretation = photometricInterpretation; } - /// - /// Initializes a new instance of the class. - /// - /// The memoryAllocator to use for buffer allocations. - /// The image width. - /// The bits per pixel. - /// The specialized jpeg decoder options. - /// The photometric interpretation. - public JpegTiffCompression( - MemoryAllocator memoryAllocator, - int width, - int bitsPerPixel, - JpegDecoderOptions options, - TiffPhotometricInterpretation photometricInterpretation) - : base(memoryAllocator, width, bitsPerPixel) - { - this.options = options; - this.photometricInterpretation = photometricInterpretation; - } - /// protected override void Decompress(BufferedReadStream stream, int byteCount, int stripHeight, Span buffer, CancellationToken cancellationToken) {