Exemple #1
0
 public void SetChannel(StegoColorChannel colorChannel)
 {
     if (!_colorChannels.ContainsKey(colorChannel.ColorChannel))
     {
         _colorChannels.Add(colorChannel.ColorChannel, colorChannel);
     }
     else
     {
         _colorChannels[colorChannel.ColorChannel] = colorChannel;
     }
 }
Exemple #2
0
        public void SetChannel(ColorChannel colorChannel, byte colorValue)
        {
            var stegoColorChannel = new StegoColorChannel(colorChannel, colorValue);

            SetChannel(stegoColorChannel);
        }