OriginalFileName

This commit is contained in:
2023-11-11 19:33:20 -07:00
parent 5a511a38e1
commit bf8b1c010e
13 changed files with 300 additions and 261 deletions

View File

@ -122,7 +122,7 @@ internal static class Dimensions
/// <param name="path">The path of the image to get the dimensions of.</param>
/// <returns>The dimensions of the specified image.</returns>
/// <exception cref="ArgumentException">The image was of an unrecognized format.</exception>
public static Size GetDimensions(BinaryReader binaryReader)
internal static Size GetDimensions(BinaryReader binaryReader)
{
int maxMagicBytesLength = _ImageFormatDecoders.Keys.OrderByDescending(x => x.Length).First().Length;
@ -146,11 +146,11 @@ internal static class Dimensions
/// <summary>
/// Gets the dimensions of an image.
/// </summary>
///internal </summary>
/// <param name="path">The path of the image to get the dimensions of.</param>
/// <returns>The dimensions of the specified image.</returns>
/// <exception cref="ArgumentException">The image was of an unrecognized format.</exception>
public static Size GetDimensions(string path)
internal static Size GetDimensions(string path)
{
using BinaryReader binaryReader = new(File.OpenRead(path));
try