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