private void buttonConvert_Click(object sender, EventArgs e) { Bitmap input = new Bitmap(textBoxInput.Text); Bitmap output = ConvertImage.ConvertTo1Bit(input); output.Save(textBoxOutput.Text); }
private void buttonConvert_Click(object sender, EventArgs e) { Bitmap input = new Bitmap(textBoxInput.Text); Bitmap output = ConvertImage.ConvertTo1Bit(input); output.Save(textBoxOutput.Text); }