Esempio n. 1
0
 public void TestEmptySourceImage_Compress()
 {
     Assert.Throws <FileNotFoundException>(() =>
     {
         Tester.PerformCompressionTest(new string[] { }, "", "asd.jpg");
     });
 }
Esempio n. 2
0
 public void TestGrayscale(string file)
 {
     Tester.PerformCompressionTest(new string[] { "-grayscale" }, file, "_gray");
 }
Esempio n. 3
0
 public void TestProgressive(string file)
 {
     Tester.PerformCompressionTest(new string[] { "-progressive" }, file, "_prog");
 }
Esempio n. 4
0
 public void TestOptimized(string file)
 {
     Tester.PerformCompressionTest(new string[] { "-optimize" }, file, "_opt");
 }
Esempio n. 5
0
 public void TestQuality(string file)
 {
     Tester.PerformCompressionTest(new string[] { "-quality", "25" }, file, "_25");
 }
Esempio n. 6
0
 public void TestCompression(string file)
 {
     Tester.PerformCompressionTest(new string[] { }, file, "");
 }
Esempio n. 7
0
 public void TestEmptySourceImage_Compress()
 {
     Tester.PerformCompressionTest(new string[] { }, "", "asd.jpg");
 }