FF-152 - saving pattern match match to "PatternMatch" variable

added help links to image and audio nodes
This commit is contained in:
John Andrews
2022-08-08 14:51:14 +12:00
parent ecbac6a1c7
commit 9761376ee1
10 changed files with 70 additions and 35 deletions

View File

@@ -6,6 +6,7 @@ public class ImageFile : ImageBaseNode
{
public override int Outputs => 1;
public override FlowElementType Type => FlowElementType.Input;
public override string HelpUrl => "https://docs.fileflows.com/plugins/image-nodes/image-file";
public override string Icon => "fas fa-file-image";
@@ -16,7 +17,7 @@ public class ImageFile : ImageBaseNode
_Variables = new Dictionary<string, object>()
{
{ "img.Width", 1920 },
{ "img.Heigh", 1080 },
{ "img.Height", 1080 },
{ "img.Format", "PNG" },
{ "img.IsPortrait", true },
{ "img.IsLandscape", false }

View File

@@ -7,7 +7,8 @@ public class ImageFlip: ImageNode
{
public override int Inputs => 1;
public override int Outputs => 1;
public override FlowElementType Type => FlowElementType.Process;
public override FlowElementType Type => FlowElementType.Process;
public override string HelpUrl => "https://docs.fileflows.com/plugins/image-nodes/image-flip";
public override string Icon => "fas fa-sync-alt";
[Boolean(2)]

View File

@@ -6,7 +6,9 @@ public class ImageFormat: ImageNode
{
public override int Inputs => 1;
public override int Outputs => 2;
public override FlowElementType Type => FlowElementType.Process;
public override FlowElementType Type => FlowElementType.Process;
public override string HelpUrl => "https://docs.fileflows.com/plugins/image-nodes/image-format";
public override string Icon => "fas fa-file-image";
public override int Execute(NodeParameters args)

View File

@@ -7,6 +7,8 @@ public class ImageIsLandscape: ImageBaseNode
public override FlowElementType Type => FlowElementType.Logic;
public override string Icon => "fas fa-image";
public override string HelpUrl => "https://docs.fileflows.com/plugins/image-nodes/image-is-landscape";
public override int Execute(NodeParameters args)
{

View File

@@ -17,8 +17,10 @@ public class ImageResizer: ImageNode
public override int Outputs => 1;
public override FlowElementType Type => FlowElementType.Process;
public override string Icon => "fas fa-expand";
public override string HelpUrl => "https://docs.fileflows.com/plugins/image-nodes/image-resizer";
[Select(nameof(ResizeModes), 2)]
public ResizeMode Mode { get; set; }

View File

@@ -10,6 +10,8 @@ public class ImageRotate: ImageNode
public override FlowElementType Type => FlowElementType.Process;
public override string Icon => "fas fa-undo";
public override string HelpUrl => "https://docs.fileflows.com/plugins/image-nodes/image-rotate";
[Select(nameof(AngleOptions), 2)]
public int Angle { get; set; }