public void Set_and_check_watermark() { var bitmap = new Bitmap(50, 50); LSB.SetWatermark(bitmap); Assert.True(LSB.CheckWatermark(bitmap)); }
private void Encode(string text) { LSB.Encode(bitmap, text); LSB.SetWatermark(bitmap); MainImage.Source = Convert(bitmap); SaveButton.IsEnabled = true; }