Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Is it possible to set "-evaluate Divide 2"

$
0
0
It seems I made a tiepo when I created the EvaluateOperator enum. This will be fixed in the next release of Magick.NET. I will also rename QuantumOperator to Evaluate.

You can however use the following command for now:
using (MagickImage image = new MagickImage("bpine_test.png"))
{
  image.Alpha(AlphaOption.Set);
  image.QuantumOperator(Channels.Alpha, EvaluateOperator.Devide, 2);
  image.Write("bpine_out.png");
}

Viewing all articles
Browse latest Browse all 3693

Trending Articles