From 077f809af1e4ec6232e2bad6e437b09118806850 Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Sat, 8 Feb 2020 04:04:48 +0100 Subject: [PATCH] remove commented code --- .../Formats/Jpeg/Components/GenericBlock8x8.cs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/ImageSharp/Formats/Jpeg/Components/GenericBlock8x8.cs b/src/ImageSharp/Formats/Jpeg/Components/GenericBlock8x8.cs index ebc071494b..534c66b99d 100644 --- a/src/ImageSharp/Formats/Jpeg/Components/GenericBlock8x8.cs +++ b/src/ImageSharp/Formats/Jpeg/Components/GenericBlock8x8.cs @@ -54,19 +54,6 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components set => this[(y * 8) + x] = value; } - // public void LoadAndStretchEdges(IPixelSource source, int sourceX, RowOctet currentRows) - // where TPixel : struct, IPixel - // { - // if (source.PixelBuffer is Buffer2D buffer) - // { - // this.LoadAndStretchEdges(buffer, sourceX, sourceY); - // } - // else - // { - // throw new InvalidOperationException("LoadAndStretchEdges() is only valid for TPixel == T !"); - // } - // } - /// /// Load a 8x8 region of an image into the block. /// The "outlying" area of the block will be stretched out with pixels on the right and bottom edge of the image.