コード例 #1
0
 public void SNNBlur()
 {
     using (Utilities.Media.SwiftBitmap TestObject = new Utilities.Media.SwiftBitmap(@"..\..\Data\Image\Lenna.jpg"))
     {
         TestObject.SNNBlur(5).Save(@".\Testing\LennaSNNBlur.jpg");
         Assert.True(new Utilities.IO.FileInfo(@".\Testing\LennaSNNBlur.jpg").ReadBinary().SequenceEqual(new Utilities.IO.FileInfo(@"..\..\BitmapResults\LennaSNNBlur.jpg").ReadBinary()));
     }
 }