示例#1
0
 public void PixelHtmlColor()
 {
     MagickWandEnvironment.Genesis();
     
     using(var wand = new MagickWand(TestHelper.TEST_FILE))
     using(var pw = wand.GetImagePixelColor(100, 100))
     {
         Assert.True(string.Equals(pw.HtmlColor, "#5C3A15", StringComparison.OrdinalIgnoreCase));
     }
     
     MagickWandEnvironment.Terminus();
 }