diff --git a/src/ImageSharp/Formats/IImageDecoder.cs b/src/ImageSharp/Formats/IImageDecoder.cs index b69ed8453..e8e84de7d 100644 --- a/src/ImageSharp/Formats/IImageDecoder.cs +++ b/src/ImageSharp/Formats/IImageDecoder.cs @@ -26,7 +26,7 @@ namespace SixLabors.ImageSharp.Formats /// /// The configuration for the image. /// The containing image data. - /// The in pixel format. + /// The . Image Decode(Configuration configuration, Stream stream); } } diff --git a/src/ImageSharp/Image.FromBytes.cs b/src/ImageSharp/Image.FromBytes.cs index 294a86b35..178098b7f 100644 --- a/src/ImageSharp/Image.FromBytes.cs +++ b/src/ImageSharp/Image.FromBytes.cs @@ -270,7 +270,7 @@ namespace SixLabors.ImageSharp /// /// The byte array containing image data. /// The detected format. - /// The in pixel format. + /// The . public static Image Load(byte[] data, out IImageFormat format) => Load(Configuration.Default, data, out format); @@ -279,7 +279,7 @@ namespace SixLabors.ImageSharp /// /// The byte array containing encoded image data. /// The decoder. - /// The in pixel format. + /// The . public static Image Load(byte[] data, IImageDecoder decoder) => Load(Configuration.Default, data, decoder); /// @@ -287,7 +287,7 @@ namespace SixLabors.ImageSharp /// /// The config for the decoder. /// The byte array containing encoded image data. - /// The in pixel format. + /// The . public static Image Load(Configuration config, byte[] data) => Load(config, data, out _); /// @@ -296,7 +296,7 @@ namespace SixLabors.ImageSharp /// The config for the decoder. /// The byte array containing image data. /// The decoder. - /// The in pixel format. + /// The . public static Image Load(Configuration config, byte[] data, IImageDecoder decoder) { using (var stream = new MemoryStream(data)) @@ -311,7 +311,7 @@ namespace SixLabors.ImageSharp /// The config for the decoder. /// The byte array containing image data. /// The mime type of the decoded image. - /// The in pixel format. + /// The . public static Image Load(Configuration config, byte[] data, out IImageFormat format) { using (var stream = new MemoryStream(data)) @@ -324,7 +324,7 @@ namespace SixLabors.ImageSharp /// Load a new instance of from the given encoded byte span. /// /// The byte span containing image data. - /// The in pixel format. + /// The . public static Image Load(ReadOnlySpan data) => Load(Configuration.Default, data); /// @@ -332,7 +332,7 @@ namespace SixLabors.ImageSharp /// /// The byte span containing image data. /// The decoder. - /// The in pixel format. + /// The . public static Image Load(ReadOnlySpan data, IImageDecoder decoder) => Load(Configuration.Default, data, decoder); @@ -341,7 +341,7 @@ namespace SixLabors.ImageSharp /// /// The byte span containing image data. /// The detected format. - /// The in pixel format. + /// The . public static Image Load(ReadOnlySpan data, out IImageFormat format) => Load(Configuration.Default, data, out format); @@ -350,7 +350,7 @@ namespace SixLabors.ImageSharp /// /// The configuration options. /// The byte span containing image data. - /// The in pixel format. + /// The . public static Image Load(Configuration config, ReadOnlySpan data) => Load(config, data, out _); /// @@ -359,7 +359,7 @@ namespace SixLabors.ImageSharp /// The Configuration. /// The byte span containing image data. /// The decoder. - /// The in pixel format. + /// The . public static unsafe Image Load( Configuration config, ReadOnlySpan data, @@ -380,7 +380,7 @@ namespace SixLabors.ImageSharp /// The configuration options. /// The byte span containing image data. /// The of the decoded image.> - /// The in pixel format. + /// The . public static unsafe Image Load( Configuration config, ReadOnlySpan data, diff --git a/src/ImageSharp/Image.FromFile.cs b/src/ImageSharp/Image.FromFile.cs index 4423d800a..95b4b9790 100644 --- a/src/ImageSharp/Image.FromFile.cs +++ b/src/ImageSharp/Image.FromFile.cs @@ -45,7 +45,7 @@ namespace SixLabors.ImageSharp /// /// Thrown if the stream is not readable nor seekable. /// - /// The in pixel format. + /// The . public static Image Load(string path) => Load(Configuration.Default, path); /// @@ -67,7 +67,7 @@ namespace SixLabors.ImageSharp /// /// Thrown if the stream is not readable nor seekable. /// - /// The in pixel format. + /// The . public static Image Load(Configuration config, string path) => Load(config, path, out _); /// @@ -79,7 +79,7 @@ namespace SixLabors.ImageSharp /// /// Thrown if the stream is not readable nor seekable. /// - /// The in pixel format. + /// The . public static Image Load(Configuration config, string path, IImageDecoder decoder) { using (Stream stream = config.FileSystem.OpenRead(path)) @@ -96,7 +96,7 @@ namespace SixLabors.ImageSharp /// /// Thrown if the stream is not readable nor seekable. /// - /// The in pixel format. + /// The . public static Image Load(string path, IImageDecoder decoder) => Load(Configuration.Default, path, decoder); /// diff --git a/src/ImageSharp/Image.FromStream.cs b/src/ImageSharp/Image.FromStream.cs index c88072546..db2cc2fd1 100644 --- a/src/ImageSharp/Image.FromStream.cs +++ b/src/ImageSharp/Image.FromStream.cs @@ -80,7 +80,7 @@ namespace SixLabors.ImageSharp /// The format type of the decoded image. /// Thrown if the stream is not readable. /// Image cannot be loaded. - /// The in pixel format. + /// The . public static Image Load(Stream stream, out IImageFormat format) => Load(Configuration.Default, stream, out format); /// @@ -90,7 +90,7 @@ namespace SixLabors.ImageSharp /// The stream containing image information. /// Thrown if the stream is not readable. /// Image cannot be loaded. - /// The in pixel format. + /// The . public static Image Load(Stream stream) => Load(Configuration.Default, stream); /// @@ -101,7 +101,7 @@ namespace SixLabors.ImageSharp /// The decoder. /// Thrown if the stream is not readable. /// Image cannot be loaded. - /// The in pixel format. + /// The . public static Image Load(Stream stream, IImageDecoder decoder) => Load(Configuration.Default, stream, decoder); ///