static void Test4() { var screenShotParser = new ScreenShotParser(); var fileName = $@"ScreenShots\Moyen202.jpg"; screenShotParser.LoadScreenShot(fileName, "Moyen202"); screenShotParser.SaveScreenShot(@"c:\tmp\M202.bmp"); }
static void Test3(string name) { var screenShotParser = new ScreenShotParser(); var fileName = $@"ScreenShots\{name}.jpg"; screenShotParser.LoadScreenShot(fileName, name); screenShotParser.SearchTopLeftAngle(70, 70); Logger.Info(screenShotParser); screenShotParser.GetBaseDimensions(); screenShotParser.SavePieces($@"Tests\generated_{name}.txt"); }