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