Changed GetDimensions to handle a stream at the end and one exit

This commit is contained in:
2025-06-15 07:22:33 -07:00
parent c7ded16e50
commit 0ec6443270
4 changed files with 180 additions and 146 deletions

View File

@ -76,7 +76,7 @@ public class FaceFileSystem : FileSystem, Properties.IFaceFileSystem
}
else
{
System.Drawing.Size size = Stateless.Methods.ImageHelper.GetDimensions(fileInfo.FullName, faceRight, faceBottom);
System.Drawing.Size size = Stateless.Methods.Dimensions.GetDimensions(fileInfo.FullName, faceRight, faceBottom);
imageWidth = size.Width;
imageHeight = size.Height;
}