Migrated from SixLabors to Magick.NET
This commit is contained in:
@@ -51,7 +51,7 @@ public sealed class MainViewModel : INotifyPropertyChanged
|
||||
|
||||
public void ResizeGif()
|
||||
{
|
||||
if(FilePath == null && GifWidth == null && GifHeight == null) return;
|
||||
if(FilePath == null && GifWidth == null && GifHeight == null) throw new InvalidOperationException("Please select a file before trying to resize.");
|
||||
_gifService.ResizeGif(FilePath!, GifWidth!.Value, GifHeight!.Value);
|
||||
CommonFormats
|
||||
.Where(f => f.Checked)
|
||||
|
||||
Reference in New Issue
Block a user