about as bare bones as you can get....
// Read SVG image from file
using (MagickImage image = new MagickImage(sourceName.Value.ToString()))
{
image.Format = (MagickFormat)Enum.Parse(typeof(MagickFormat), fileType.Value.ToString(), true);
//image.Format = MagickFormat.Png;
image.Write(string.Concat(targetName.Value.ToString(), ".", fileType.Value.ToString()));
}
var returnCollection = new SimpleExpressionValueCollection
{
{"returnValue", new Value("Success: EP called")}
};