namespace View_by_Distance.Shared.Models.Stateless.Methods; internal abstract class OutputResolution { internal static (int Width, int Height) Get(Models.OutputResolution outputResolution) { // 0 => new(outputResolution.Width, outputResolution.Height), // _ => throw new Exception() (int, int) result = outputResolution.Orientation switch // exif 274 { _ => new(outputResolution.Width, outputResolution.Height) }; return result; } }