Browse Source
Merge branch 'main' into dp/jpeg-scalar-path-fix
pull/2427/head
James Jackson-South
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/ImageSharp/Image.FromFile.cs
-
src/ImageSharp/Image.FromStream.cs
|
|
|
@ -81,7 +81,7 @@ public abstract partial class Image |
|
|
|
/// A return value indicates whether the operation succeeded.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="path">The image file to open and to read the header from.</param>
|
|
|
|
/// <returns><see langword="true"/> if the information can be read; otherwise, <see langword="false"/></returns>
|
|
|
|
/// <returns>The <see cref="ImageInfo"/>.</returns>
|
|
|
|
/// <exception cref="ArgumentNullException">The path is null.</exception>
|
|
|
|
/// <exception cref="NotSupportedException">The file stream is not readable or the image format is not supported.</exception>
|
|
|
|
/// <exception cref="InvalidImageContentException">The encoded image contains invalid content.</exception>
|
|
|
|
|
|
|
|
@ -29,7 +29,7 @@ public abstract partial class Image |
|
|
|
/// </summary>
|
|
|
|
/// <param name="options">The general decoder options.</param>
|
|
|
|
/// <param name="stream">The image stream to read the header from.</param>
|
|
|
|
/// <returns><see langword="true"/> if a match is found; otherwise, <see langword="false"/></returns>
|
|
|
|
/// <returns>The <see cref="IImageFormat"/>.</returns>
|
|
|
|
/// <exception cref="ArgumentNullException">The options are null.</exception>
|
|
|
|
/// <exception cref="ArgumentNullException">The stream is null.</exception>
|
|
|
|
/// <exception cref="NotSupportedException">The stream is not readable or the image format is not supported.</exception>
|
|
|
|
@ -79,7 +79,7 @@ public abstract partial class Image |
|
|
|
/// Reads the raw image information from the specified stream without fully decoding it.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="stream">The image stream to read the header from.</param>
|
|
|
|
/// <returns><see langword="true"/> if the information can be read; otherwise, <see langword="false"/></returns>
|
|
|
|
/// <returns>The <see cref="ImageInfo"/>.</returns>
|
|
|
|
/// <exception cref="ArgumentNullException">The stream is null.</exception>
|
|
|
|
/// <exception cref="NotSupportedException">The stream is not readable or the image format is not supported.</exception>
|
|
|
|
/// <exception cref="InvalidImageContentException">The encoded image contains invalid content.</exception>
|
|
|
|
|