diff --git a/src/ImageSharp/Image.FromBytes.cs b/src/ImageSharp/Image.FromBytes.cs index 342143bb5a..4682a99765 100644 --- a/src/ImageSharp/Image.FromBytes.cs +++ b/src/ImageSharp/Image.FromBytes.cs @@ -41,7 +41,7 @@ public static IImageFormat DetectFormat(Configuration configuration, byte[] data } /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given encoded byte array without fully decoding it. /// /// The byte array containing encoded image data to read the header from. /// The data is null. @@ -52,7 +52,7 @@ public static IImageFormat DetectFormat(Configuration configuration, byte[] data public static IImageInfo Identify(byte[] data) => Identify(data, out IImageFormat _); /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given encoded byte array without fully decoding it. /// /// The byte array containing encoded image data to read the header from. /// The format type of the decoded image. @@ -64,7 +64,7 @@ public static IImageFormat DetectFormat(Configuration configuration, byte[] data public static IImageInfo Identify(byte[] data, out IImageFormat format) => Identify(Configuration.Default, data, out format); /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given encoded byte array without fully decoding it. /// /// The configuration. /// The byte array containing encoded image data to read the header from. diff --git a/src/ImageSharp/Image.FromFile.cs b/src/ImageSharp/Image.FromFile.cs index 79c036d24d..bc96515d29 100644 --- a/src/ImageSharp/Image.FromFile.cs +++ b/src/ImageSharp/Image.FromFile.cs @@ -41,7 +41,7 @@ public static IImageFormat DetectFormat(Configuration configuration, string file } /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The image file to open and to read the header from. /// @@ -51,7 +51,7 @@ public static IImageInfo Identify(string filePath) => Identify(filePath, out IImageFormat _); /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The image file to open and to read the header from. /// The format type of the decoded image. @@ -62,7 +62,7 @@ public static IImageInfo Identify(string filePath, out IImageFormat format) => Identify(Configuration.Default, filePath, out format); /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The configuration. /// The image file to open and to read the header from. @@ -81,7 +81,7 @@ public static IImageInfo Identify(Configuration configuration, string filePath, } /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The image file to open and to read the header from. /// The token to monitor for cancellation requests. @@ -94,7 +94,7 @@ public static Task IdentifyAsync(string filePath, CancellationToken => IdentifyAsync(Configuration.Default, filePath, cancellationToken); /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The configuration. /// The image file to open and to read the header from. @@ -115,7 +115,7 @@ public static async Task IdentifyAsync( } /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The image file to open and to read the header from. /// The token to monitor for cancellation requests. @@ -130,7 +130,7 @@ public static async Task IdentifyAsync( => IdentifyWithFormatAsync(Configuration.Default, filePath, cancellationToken); /// - /// Reads the raw image information from the specified stream without fully decoding it. + /// Reads the raw image information from the given file without fully decoding it. /// /// The configuration. /// The image file to open and to read the header from.