|
|
|
@ -105,7 +105,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsBmp(this Image source, Stream stream, BmpEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -208,7 +207,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsGif(this Image source, Stream stream, GifEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -311,7 +309,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsJpeg(this Image source, Stream stream, JpegEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -414,7 +411,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsPbm(this Image source, Stream stream, PbmEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -517,7 +513,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsPng(this Image source, Stream stream, PngEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -620,7 +615,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsTga(this Image source, Stream stream, TgaEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -723,7 +717,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsWebp(this Image source, Stream stream, WebpEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
@ -826,7 +819,6 @@ namespace SixLabors.ImageSharp |
|
|
|
/// <param name="stream">The stream to save the image to.</param>
|
|
|
|
/// <param name="encoder">The encoder to save the image with.</param>
|
|
|
|
/// <exception cref="System.ArgumentNullException">Thrown if the stream is null.</exception>
|
|
|
|
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
|
|
|
|
public static void SaveAsTiff(this Image source, Stream stream, TiffEncoder encoder) |
|
|
|
=> source.Save( |
|
|
|
stream, |
|
|
|
|