コード例 #1
0
 public void TestEmptySourceImage_Decompress()
 {
     Assert.Throws <FileNotFoundException>(() =>
     {
         Tester.PerformDecompressionTest(new string[] { }, "", "asd.jpg");
     });
 }
コード例 #2
0
ファイル: Decompression.cs プロジェクト: yuxiliu/libjpeg.net
 public void TestCmykToRgb(string file)
 {
     // forcing rgb output
     Tester.PerformDecompressionTest(new string[] { "-rgb", "-colors", "256" }, file, "_cmyk2rgb256");
 }
コード例 #3
0
ファイル: Decompression.cs プロジェクト: yuxiliu/libjpeg.net
 public void TestSlowDequantizer(string file)
 {
     // test slow (2-pass) dequantizer
     Tester.PerformDecompressionTest(new string[] { "-colors", "256", "-bmp" }, file, "_slow");
 }
コード例 #4
0
ファイル: Decompression.cs プロジェクト: yuxiliu/libjpeg.net
 public void TestFastDequantizer(string file)
 {
     // test fast (1-pass) dequantizer
     Tester.PerformDecompressionTest(new string[] { "-fast", "-colors", "256", "-bmp" }, file, "_fast");
 }
コード例 #5
0
ファイル: Decompression.cs プロジェクト: yuxiliu/libjpeg.net
 public void TestDeCompression(string file)
 {
     Tester.PerformDecompressionTest(new string[] { }, file, "");
 }
コード例 #6
0
 public void TestEmptySourceImage_Decompress()
 {
     Tester.PerformDecompressionTest(new string[] { }, "", "asd.jpg");
 }