private void ExecuteBlueShift(XmlElement element, MagickImage image)
{
Hashtable arguments = new Hashtable();
foreach (XmlAttribute attribute in element.Attributes)
{
arguments[attribute.Name] = Variables.GetValue<double>(attribute);
}
if (arguments.Count == 0)
image.BlueShift();
else if (OnlyContains(arguments, "factor"))
image.BlueShift((double)arguments["factor"]);
else
throw new ArgumentException("Invalid argument combination for 'blueShift', allowed combinations are: [] [factor]");
}
private void ExecuteBlur(XmlElement element, MagickImage image)