From 940cca746c9d50bdb649e3a44771fd6ede625043 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Sun, 1 Jan 2017 19:07:48 +0000 Subject: [PATCH] dropped ToFrame and Clone extensions --- src/ImageSharp.Formats.Gif/ImageExtensions.cs | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/src/ImageSharp.Formats.Gif/ImageExtensions.cs b/src/ImageSharp.Formats.Gif/ImageExtensions.cs index 287305a664..09c836a680 100644 --- a/src/ImageSharp.Formats.Gif/ImageExtensions.cs +++ b/src/ImageSharp.Formats.Gif/ImageExtensions.cs @@ -29,25 +29,5 @@ namespace ImageSharp public static Image SaveAsGif(this Image source, Stream stream, int quality = 256) where TColor : struct, IPackedPixel, IEquatable => source.Save(stream, new GifEncoder { Quality = quality }); - - /// - /// To the frame. - /// - /// The type of the color. - /// The source. - /// The frame - internal static ImageFrame ToFrame(this ImageBase source) - where TColor : struct, IPackedPixel, IEquatable - => new ImageFrame(source); - - /// - /// Clones the specified source. - /// - /// The type of the color. - /// The source. - /// The frame - internal static ImageFrame Clone(this ImageFrame source) - where TColor : struct, IPackedPixel, IEquatable - => new ImageFrame(source); } }