public void ImageWandImageClassTest() { using (var wand = new MagickWand()) using (var yellowPixelWand = new PixelWand("yellow")) using (var blackPixelWand = new PixelWand("black", 0.5)) { wand.NewImage(200, 200, "Blue"); wand.CurrentImage.DrawRoundRectangle(10, 10, wand.CurrentImage.Width - 10, 70, 5, 5, yellowPixelWand, blackPixelWand); var t = wand.GetImage(); //wand.Image.RotateImage("red", 45); //t.RotateImage("red", 45); t.SaveImages(Path.Combine(SaveDirectory, "logo_extent.jpg")); wand.SaveImages(Path.Combine(SaveDirectory, "logo_extent.jpg")); } }