Example #1
0
        public void Set_and_check_watermark()
        {
            var bitmap = new Bitmap(50, 50);

            LSB.SetWatermark(bitmap);
            Assert.True(LSB.CheckWatermark(bitmap));
        }
Example #2
0
        private void Encode(string text)
        {
            LSB.Encode(bitmap, text);
            LSB.SetWatermark(bitmap);

            MainImage.Source     = Convert(bitmap);
            SaveButton.IsEnabled = true;
        }