mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Cleanup
This commit is contained in:
@@ -2,22 +2,16 @@
|
|||||||
using Flowframes.Data;
|
using Flowframes.Data;
|
||||||
using Flowframes.Forms;
|
using Flowframes.Forms;
|
||||||
using Flowframes.IO;
|
using Flowframes.IO;
|
||||||
using Flowframes.MiscUtils;
|
|
||||||
using Flowframes.Os;
|
using Flowframes.Os;
|
||||||
using Flowframes.Ui;
|
using Flowframes.Ui;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
|
||||||
using I = Flowframes.Interpolate;
|
using I = Flowframes.Interpolate;
|
||||||
using Padding = Flowframes.Data.Padding;
|
using Padding = Flowframes.Data.Padding;
|
||||||
using static Flowframes.Magick.Dedupe;
|
|
||||||
using System.Xml.Linq;
|
|
||||||
|
|
||||||
namespace Flowframes.Main
|
namespace Flowframes.Main
|
||||||
{
|
{
|
||||||
@@ -364,7 +358,7 @@ namespace Flowframes.Main
|
|||||||
return factor.RoundToInt();
|
return factor.RoundToInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Fraction AskForFramerate (string mediaName, bool isImageSequence = true)
|
public static Fraction AskForFramerate(string mediaName, bool isImageSequence = true)
|
||||||
{
|
{
|
||||||
string text = $"Please enter an input frame rate to use for{(isImageSequence ? " the image sequence" : "")} '{mediaName.Trunc(80)}'.";
|
string text = $"Please enter an input frame rate to use for{(isImageSequence ? " the image sequence" : "")} '{mediaName.Trunc(80)}'.";
|
||||||
PromptForm form = new PromptForm("Enter Frame Rate", text, "15");
|
PromptForm form = new PromptForm("Enter Frame Rate", text, "15");
|
||||||
|
|||||||
Reference in New Issue
Block a user