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