public string GenerateOuputFileName() { return(!string.IsNullOrEmpty(OutputPath) ? OutputPath.EnsureFileNameHasExtension(Path.GetExtension(InputPath)) : Guid.NewGuid().ToString() + $"_trimmed_{Start}x{End}" + Path.GetExtension(InputPath)); }
public string GenerateOuputFileName() { return(!string.IsNullOrEmpty(OutputPath) ? OutputPath.EnsureFileNameHasExtension(Path.GetExtension(InputPath)) : Guid.NewGuid().ToString() + $"_cropped_{Width}x{Height}" + Path.GetExtension(InputPath)); }