diff --git a/src/ImageSharp/ImageExtensions.cs b/src/ImageSharp/ImageExtensions.cs index ccccf526f1..d40c5c271b 100644 --- a/src/ImageSharp/ImageExtensions.cs +++ b/src/ImageSharp/ImageExtensions.cs @@ -55,18 +55,6 @@ namespace SixLabors.ImageSharp } } - /// - /// Writes the image to the given stream using the currently loaded image format. - /// - /// The source image. - /// The file path to save the image to. - /// The encoder to save the image with. - /// The path is null. - /// The encoder is null. - /// A representing the asynchronous operation. - public static Task SaveAsync(this Image source, string path, IImageEncoder encoder) - => SaveAsync(source, path, encoder, default); - /// /// Writes the image to the given stream using the currently loaded image format. /// @@ -81,7 +69,7 @@ namespace SixLabors.ImageSharp this Image source, string path, IImageEncoder encoder, - CancellationToken cancellationToken) + CancellationToken cancellationToken = default) { Guard.NotNull(path, nameof(path)); Guard.NotNull(encoder, nameof(encoder));