public static Bitmap Test(int width, int height, String searchText, UrlProvider urlProvider) { System.Random rand = new System.Random(); RandomComposition c = new RandomComposition(width, height, rand.Next(1, 9), searchText, urlProvider); c.Compose(); return(c.FinalResult); }
public static Bitmap Test(int width, int height, Bitmap testImage) { RandomComposition c = new RandomComposition(width, height); c.subjects.Add(new Subject("http://www.google.com", testImage)); StatusManager.Instance.StatusMessage("Sketching..."); c.CreateSketch(); StatusManager.Instance.StatusMessage("Sketching completed."); return(c.CreateComposition()); }