@ -59,7 +59,7 @@ public static partial class ImageExtensions
public static void SaveAsBmp ( this Image source , string path , BmpEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Bmp format.
@ -73,7 +73,7 @@ public static partial class ImageExtensions
public static Task SaveAsBmpAsync ( this Image source , string path , BmpEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -106,7 +106,7 @@ public static partial class ImageExtensions
public static void SaveAsBmp ( this Image source , Stream stream , BmpEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Bmp format.
@ -120,7 +120,7 @@ public static partial class ImageExtensions
public static Task SaveAsBmpAsync ( this Image source , Stream stream , BmpEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( BmpFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -161,7 +161,7 @@ public static partial class ImageExtensions
public static void SaveAsGif ( this Image source , string path , GifEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Gif format.
@ -175,7 +175,7 @@ public static partial class ImageExtensions
public static Task SaveAsGifAsync ( this Image source , string path , GifEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -208,7 +208,7 @@ public static partial class ImageExtensions
public static void SaveAsGif ( this Image source , Stream stream , GifEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Gif format.
@ -222,7 +222,7 @@ public static partial class ImageExtensions
public static Task SaveAsGifAsync ( this Image source , Stream stream , GifEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( GifFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -263,7 +263,7 @@ public static partial class ImageExtensions
public static void SaveAsJpeg ( this Image source , string path , JpegEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Jpeg format.
@ -277,7 +277,7 @@ public static partial class ImageExtensions
public static Task SaveAsJpegAsync ( this Image source , string path , JpegEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -310,7 +310,7 @@ public static partial class ImageExtensions
public static void SaveAsJpeg ( this Image source , Stream stream , JpegEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Jpeg format.
@ -324,7 +324,7 @@ public static partial class ImageExtensions
public static Task SaveAsJpegAsync ( this Image source , Stream stream , JpegEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( JpegFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -365,7 +365,7 @@ public static partial class ImageExtensions
public static void SaveAsPbm ( this Image source , string path , PbmEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Pbm format.
@ -379,7 +379,7 @@ public static partial class ImageExtensions
public static Task SaveAsPbmAsync ( this Image source , string path , PbmEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -412,7 +412,7 @@ public static partial class ImageExtensions
public static void SaveAsPbm ( this Image source , Stream stream , PbmEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Pbm format.
@ -426,7 +426,7 @@ public static partial class ImageExtensions
public static Task SaveAsPbmAsync ( this Image source , Stream stream , PbmEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PbmFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -467,7 +467,7 @@ public static partial class ImageExtensions
public static void SaveAsPng ( this Image source , string path , PngEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Png format.
@ -481,7 +481,7 @@ public static partial class ImageExtensions
public static Task SaveAsPngAsync ( this Image source , string path , PngEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -514,7 +514,7 @@ public static partial class ImageExtensions
public static void SaveAsPng ( this Image source , Stream stream , PngEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Png format.
@ -528,7 +528,7 @@ public static partial class ImageExtensions
public static Task SaveAsPngAsync ( this Image source , Stream stream , PngEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( PngFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -569,7 +569,7 @@ public static partial class ImageExtensions
public static void SaveAsQoi ( this Image source , string path , QoiEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Qoi format.
@ -583,7 +583,7 @@ public static partial class ImageExtensions
public static Task SaveAsQoiAsync ( this Image source , string path , QoiEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -616,7 +616,7 @@ public static partial class ImageExtensions
public static void SaveAsQoi ( this Image source , Stream stream , QoiEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Qoi format.
@ -630,7 +630,7 @@ public static partial class ImageExtensions
public static Task SaveAsQoiAsync ( this Image source , Stream stream , QoiEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( QoiFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -671,7 +671,7 @@ public static partial class ImageExtensions
public static void SaveAsTga ( this Image source , string path , TgaEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Tga format.
@ -685,7 +685,7 @@ public static partial class ImageExtensions
public static Task SaveAsTgaAsync ( this Image source , string path , TgaEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -718,7 +718,7 @@ public static partial class ImageExtensions
public static void SaveAsTga ( this Image source , Stream stream , TgaEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Tga format.
@ -732,7 +732,7 @@ public static partial class ImageExtensions
public static Task SaveAsTgaAsync ( this Image source , Stream stream , TgaEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TgaFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -773,7 +773,7 @@ public static partial class ImageExtensions
public static void SaveAsTiff ( this Image source , string path , TiffEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Tiff format.
@ -787,7 +787,7 @@ public static partial class ImageExtensions
public static Task SaveAsTiffAsync ( this Image source , string path , TiffEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -820,7 +820,7 @@ public static partial class ImageExtensions
public static void SaveAsTiff ( this Image source , Stream stream , TiffEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Tiff format.
@ -834,7 +834,7 @@ public static partial class ImageExtensions
public static Task SaveAsTiffAsync ( this Image source , Stream stream , TiffEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( TiffFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -875,7 +875,7 @@ public static partial class ImageExtensions
public static void SaveAsWebp ( this Image source , string path , WebpEncoder encoder ) = >
source . Save (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Webp format.
@ -889,7 +889,7 @@ public static partial class ImageExtensions
public static Task SaveAsWebpAsync ( this Image source , string path , WebpEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
path ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ,
cancellationToken ) ;
/// <summary>
@ -922,7 +922,7 @@ public static partial class ImageExtensions
public static void SaveAsWebp ( this Image source , Stream stream , WebpEncoder encoder )
= > source . Save (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ) ;
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ) ;
/// <summary>
/// Saves the image to the given stream with the Webp format.
@ -936,7 +936,7 @@ public static partial class ImageExtensions
public static Task SaveAsWebpAsync ( this Image source , Stream stream , WebpEncoder encoder , CancellationToken cancellationToken = default )
= > source . SaveAsync (
stream ,
encoder ? ? source . Get Configuration( ) . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ,
encoder ? ? source . Configuration . ImageFormatsManager . GetEncoder ( WebpFormat . Instance ) ,
cancellationToken ) ;
}